Skip to content

Commit

Permalink
fake login registry - jepsen and dispatch all
Browse files Browse the repository at this point in the history
  • Loading branch information
RazvanLiviuVarzaru committed Aug 8, 2024
1 parent 666a608 commit a19e580
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/bbw_build_container_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,15 +140,15 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push images to ghcr.io
if: ${{ env.DEPLOY_IMAGES == 'true' }}
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/${GITHUB_REPOSITORY,,}/${{ env.REPO }}:${{ env.IMG }}
# - name: Push images to ghcr.io
# if: ${{ env.DEPLOY_IMAGES == 'true' }}
# 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/${GITHUB_REPOSITORY,,}/${{ env.REPO }}:${{ env.IMG }}

- name: Login to registry
if: ${{ env.DEPLOY_IMAGES == 'true' }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-debian.jepsen-based.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build Debian:jepsen based images

on:
workflow_dispatch:
push:
paths:
- 'ci_build_images/debian.Dockerfile'
Expand Down

0 comments on commit a19e580

Please sign in to comment.