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

This commit is contained in:
Ivan Li 2023-05-22 10:48:48 +08:00
parent 727efddc22
commit f58cd9635c

View File

@ -45,13 +45,15 @@ jobs:
- name: Build
run: cargo build --release
- run: echo "secrets.GITHUB_TOKEN ${{ secrets.GITHUB_TOKEN }}, gitea.actor ${{ gitea.actor }}"
- name: Log in to the Container registry
uses: https://github.com/docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ gitea.actor }}
password: ${{ secrets.GITEA_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta