File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - master
7+ release :
8+ types :
9+ - created
10+
711
812jobs :
913 build :
2428 run : echo ${{ steps.buildx.outputs.platforms }}
2529 - name : login to docker hub
2630 run : echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
27- - name : build the image
31+ - name : tag and push devel image
32+ run : |
33+ docker build --push \
34+ --tag dmstraub/gramps-webapi:latest-devel \
35+ --platform linux/amd64,linux/arm/v7,linux/arm64 .
36+ - name : tag and push release image
37+ if : github.event_name == 'release'
2838 run : |
2939 docker build --push \
40+ --tag dmstraub/gramps-webapi:${{ github.event.release.tag_name }} \
3041 --tag dmstraub/gramps-webapi:latest \
3142 --platform linux/amd64,linux/arm/v7,linux/arm64 .
3243
You can’t perform that action at this time.
0 commit comments