Skip to content

Commit

Permalink
Example for vlad
Browse files Browse the repository at this point in the history
  • Loading branch information
fauust committed Jan 29, 2024
1 parent 2b0575e commit 1e1e048
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/bbm_build_container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ jobs:
- name: Set up env vars
run: |
echo "REPO=bb-master" >>$GITHUB_ENV
if echo "$GITHUB_REF" | grep -q '^upstream/dev';then
echo "TAG=-dev" >>$GITHUB_ENV
else
echo "TAG=" >>$GITHUB_ENV
fi
- name: Build master image
run: |
podman build . --tag ${{ env.REPO }}:master
Expand Down Expand Up @@ -80,7 +85,7 @@ jobs:
for image in master master-web; do
skopeo copy --all --src-tls-verify=0 \
docker://localhost:5000/${{ env.REPO }}:${image} \
docker://ghcr.io/mariadb/buildbot:${image}
docker://ghcr.io/mariadb/buildbot:${image}${{ env.TAG }}
done
- name: Login to quay.io
if: ${{ env.DEPLOY_IMAGES == 'true' }}
Expand All @@ -98,5 +103,5 @@ jobs:
for image in master master-web; do
skopeo copy --all --src-tls-verify=0 \
docker://localhost:5000/${{ env.REPO }}:${image} \
docker://quay.io/mariadb-foundation/${{ env.REPO }}:${image}
docker://quay.io/mariadb-foundation/${{ env.REPO }}:${image}${{ env.TAG }}
done

0 comments on commit 1e1e048

Please sign in to comment.