Skip to content

Commit

Permalink
Perform a docker push for both latest and $VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Clark authored Jan 22, 2021
1 parent ac8327f commit 8b115bb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,7 @@ jobs:
- name: Build container
run: docker build . --tag mitre/inspec_tools:$VERSION --tag mitre/inspec_tools:latest
- name: Publish container to docker registry
run: docker push mitre/inspec_tools --all-tags
run: |
docker push mitre/inspec_tools:$VERSION
docker push mitre/inspec_tools:latest

0 comments on commit 8b115bb

Please sign in to comment.