ci:
Some checks failed
Gitea Actions Demo / build (push) Successful in 1m15s
Gitea Actions Demo / docker (push) Failing after 4s

This commit is contained in:
Ivan Li 2023-05-21 23:43:44 +08:00
parent 62690b92de
commit 78b5472b06

View File

@ -37,8 +37,6 @@ jobs:
toolchain: stable
override: true
- run: echo "steps.restore-dependencies.outputs.cache-primary-key = ${{ steps.restore-dependencies.outputs.cache-primary-key }}"
- id: tag
uses: https://github.com/Maxyme/get-release-or-tag@v2
@ -74,7 +72,7 @@ jobs:
run: echo "missing program"
- name: Log in to the Container registry
uses: docker/login-action@v2
uses: https://github.com/docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ gitea.actor }}
@ -82,13 +80,13 @@ jobs:
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
uses: https://github.com/docker/metadata-action@v4
with:
registry: ${{ env.REGISTRY }}
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
uses: https://github.com/docker/build-push-action@v4
with:
context: .
push: true