Skip to content

Commit 51315ee

Browse files
committed
finally it works
1 parent 602f6bd commit 51315ee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docker-push.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Tag and push all docker
22

33
on:
44
workflow_dispatch: {}
5-
pull_request:
65
push:
76
tags:
87
- v*
@@ -58,6 +57,7 @@ jobs:
5857
- name: Log in to Docker
5958
run: |
6059
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username ${DOCKER_USERNAME} --password-stdin
60+
6161
- name: Tag image versions
6262
run: |
6363
docker image tag us-docker.pkg.dev/oplabs-tools-artifacts/images/${{ matrix.image }} ghcr.io/${{ github.repository_owner }}/${{ matrix.image }}
@@ -67,6 +67,6 @@ jobs:
6767
run: |
6868
docker image tag ghcr.io/${{ github.repository_owner }}/${{ matrix.image }} ghcr.io/${{ github.repository_owner }}/${{ matrix.image }}:${{ github.ref_name }}
6969
70-
# - name: Push images
71-
# run: |
72-
# docker image push -a ghcr.io/${{ github.repository_owner }}/${{ matrix.image }}
70+
- name: Push images
71+
run: |
72+
docker image push -a ghcr.io/${{ github.repository_owner }}/${{ matrix.image }}

0 commit comments

Comments
 (0)