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