ci: 合并程序构建和容器镜像构建
Some checks failed
Gitea Actions Demo / build (push) Failing after 1m58s

This commit is contained in:
Ivan Li 2023-05-22 10:55:57 +08:00
parent f58cd9635c
commit 9004511aba

View File

@ -46,7 +46,7 @@ jobs:
- name: Build - name: Build
run: cargo build --release run: cargo build --release
- run: echo "secrets.GITHUB_TOKEN ${{ secrets.GITHUB_TOKEN }}, gitea.actor ${{ gitea.actor }}" - run: echo "secrets.GITHUB_TOKEN ${{ secrets.GITHUB_TOKEN }}, secrets.GITEA_TOKEN ${{ secrets.GITEA_TOKEN }}"
- name: Log in to the Container registry - name: Log in to the Container registry
uses: https://github.com/docker/login-action@v2 uses: https://github.com/docker/login-action@v2
@ -63,7 +63,7 @@ jobs:
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: https://github.com/docker/build-push-action@v4 uses: docker/build-push-action@master
env: env:
ACTIONS_RUNTIME_TOKEN: '' ACTIONS_RUNTIME_TOKEN: ''
with: with: