测试 build_push

This commit is contained in:
严浩
2024-10-09 10:55:41 +08:00
parent f5c94acf91
commit 4afc9248f1

View File

@ -37,7 +37,7 @@ jobs:
with:
build_file: ./docker-build-push/Dockerfile
build_platforms: linux/amd64
build_push: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/tags/*' }}
build_push: ${{ github.ref == 'refs/heads/main' }}
build_load: true
metadata_images: |
docker.io/${{ vars.DOCKERHUB_USERNAME }}/docker-example