Skip to content

Commit

Permalink
finally it works
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjected committed Sep 25, 2024
1 parent 602f6bd commit 51315ee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Tag and push all docker

on:
workflow_dispatch: {}
pull_request:
push:
tags:
- v*
Expand Down Expand Up @@ -58,6 +57,7 @@ jobs:
- name: Log in to Docker
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username ${DOCKER_USERNAME} --password-stdin
- name: Tag image versions
run: |
docker image tag us-docker.pkg.dev/oplabs-tools-artifacts/images/${{ matrix.image }} ghcr.io/${{ github.repository_owner }}/${{ matrix.image }}
Expand All @@ -67,6 +67,6 @@ jobs:
run: |
docker image tag ghcr.io/${{ github.repository_owner }}/${{ matrix.image }} ghcr.io/${{ github.repository_owner }}/${{ matrix.image }}:${{ github.ref_name }}
# - name: Push images
# run: |
# docker image push -a ghcr.io/${{ github.repository_owner }}/${{ matrix.image }}
- name: Push images
run: |
docker image push -a ghcr.io/${{ github.repository_owner }}/${{ matrix.image }}

0 comments on commit 51315ee

Please sign in to comment.