Fix build-publish workflow failure (#24)

Related to [this job failure](https://gitea.com/gitea/test-env/actions/runs/28/jobs/2)

See https://gitea.com/gitea/act_runner/issues/119#issuecomment-738294

Reviewed-on: https://gitea.com/gitea/test-env/pulls/24
Reviewed-by: Jason Song <i@wolfogre.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Zettat123 <zettat123@gmail.com>
Co-committed-by: Zettat123 <zettat123@gmail.com>
This commit is contained in:
Zettat123 2023-04-28 21:49:08 +08:00 committed by Lunny Xiao
parent 23e4487a3a
commit 7e0fd677a1
2 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,8 @@ jobs:
CI_REGISTRY_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- name: build image
uses: https://github.com/docker/build-push-action@v4
env:
ACTIONS_RUNTIME_TOKEN: ''
with:
push: true
tags: gitea/test_env:linux-${{ matrix.go-version }}-${{ steps.arch.outputs.value }}

View File

@ -16,6 +16,8 @@ jobs:
uses: https://github.com/docker/setup-buildx-action@v2
- name: build image
uses: https://github.com/docker/build-push-action@v4
env:
ACTIONS_RUNTIME_TOKEN: ''
with:
push: false
tags: gitea/test_env:linux-${{ matrix.go-version }}-amd64