Skip to content

Commit 8b115bb

Browse files
author
Robert Clark
authored
Perform a docker push for both latest and $VERSION
1 parent ac8327f commit 8b115bb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,7 @@ jobs:
4646
- name: Build container
4747
run: docker build . --tag mitre/inspec_tools:$VERSION --tag mitre/inspec_tools:latest
4848
- name: Publish container to docker registry
49-
run: docker push mitre/inspec_tools --all-tags
49+
run: |
50+
docker push mitre/inspec_tools:$VERSION
51+
docker push mitre/inspec_tools:latest
52+

0 commit comments

Comments
 (0)