Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
fauust committed Aug 7, 2023
1 parent 2d85e09 commit 2bb1dc3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/bb_containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,18 +259,20 @@ jobs:
fi
- name: Login to ghcr.io
uses: docker/login-action@v2
if: (!contains(matrix.dockerfile, 'rhel'))
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push images to ghcr.io
if: (!contains(matrix.dockerfile, 'rhel'))
run: |
msg="Push docker image to ghcr.io (${{ env.IMG }})"
line="${msg//?/=}"
printf "\n${line}\n${msg}\n${line}\n"
skopeo copy --all --src-tls-verify=0 \
docker://localhost:5000/${{ env.REPO }}:${{ env.IMG }} \
docker://ghcr.io/mariadb/buildbot:${{ env.IMG }}
docker://ghcr.io/${{ github.GITHUB_REPOSITORY }}/buildbot:${{ env.IMG }}
- name: Login to registry
if: ${{ env.DEPLOY_IMAGES == 'true' }}
uses: docker/login-action@v2
Expand Down

0 comments on commit 2bb1dc3

Please sign in to comment.