File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -71,17 +71,27 @@ jobs:
7171 DOCKER_PASSWORD : ${{ secrets.DOCKER_PASSWORD }}
7272 - name : Stage the Docker build
7373 run : sbt "project loader" docker:stage
74+ - name : Docker metadata
75+ id : meta
76+ uses : docker/metadata-action@v3
77+ with :
78+ images : snowplow/snowplow-postgres-loader
79+ tags : |
80+ type=raw,value=latest,enable=${{ !contains(steps.ver.outputs.tag, 'rc') }}
81+ type=raw,value=${{ steps.ver.outputs.tag }}
82+ flavor : |
83+ latest=false
7484 - name : Set up QEMU
7585 uses : docker/setup-qemu-action@v1
7686 - name : Set up Docker Buildx
7787 uses : docker/setup-buildx-action@v1
78- - name : Build image
88+ - name : Push image
7989 uses : docker/build-push-action@v2
8090 with :
8191 context : modules/loader/target/docker/stage
8292 file : modules/loader/target/docker/stage/Dockerfile
8393 platforms : linux/amd64,linux/arm64/v8
84- tags : snowplow/snowplow-postgres-loader: ${{ steps.ver .outputs.tag }}
94+ tags : ${{ steps.meta .outputs.tags }}
8595 push : true
8696
8797 deploy_common :
You can’t perform that action at this time.
0 commit comments