mirror of
https://github.com/yanhao98/composite-actions.git
synced 2025-07-13 23:00:48 +08:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
f5c94acf91 | |||
2f7ba5802d |
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -37,14 +37,13 @@ jobs:
|
||||
with:
|
||||
build_file: ./docker-build-push/Dockerfile
|
||||
build_platforms: linux/amd64
|
||||
build_push: ${{ github.ref == 'refs/heads/main' }}
|
||||
build_push: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/tags/*' }}
|
||||
build_load: true
|
||||
metadata_images: |
|
||||
docker.io/${{ vars.DOCKERHUB_USERNAME }}/docker-example
|
||||
ghcr.io/${{ github.repository }}
|
||||
metadata_tags: |
|
||||
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
|
||||
type=ref,event=tag,enable=true,priority=600
|
||||
type=semver,pattern={{version}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
type=semver,pattern={{major}}
|
||||
|
Reference in New Issue
Block a user