Skip to content

Commit e3db908

Browse files
committed
separate create and push steps
1 parent 4c6eeb1 commit e3db908

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/pipeline.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,11 @@ jobs:
3434
with:
3535
username: ${{ secrets.DOCKERHUB_USERNAME }}
3636
password: ${{ secrets.DOCKERHUB_TOKEN }}
37-
- name: Create and Push manifest
38-
env:
39-
TAG: ${GITHUB_REF_NAME}
40-
REPOSITORY_OWNER: ${{github.repository_owner}}
37+
- name: Create manifest
4138
run: |
4239
docker manifest create ${{github.repository_owner}}/hardened-build-base:${{github.ref_name}} \
43-
${{github.repository_owner}}/hardened-build-base:${TAG}
40+
${{github.repository_owner}}/hardened-build-base:${{github.ref_name}}
41+
- name: Push manifest
42+
run: |
4443
docker manifest push ${{github.repository_owner}}/hardened-build-base:${{github.ref_name}}
4544

0 commit comments

Comments
 (0)