Skip to content

Commit

Permalink
Test dry run
Browse files Browse the repository at this point in the history
  • Loading branch information
edmorley committed Oct 26, 2023
1 parent 7cfccec commit d5b4459
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build, Test, Publish
on:
pull_request:
push:
branches: ["main"]
# branches: ["main"]
schedule:
- cron: "0 0 * * 1-5"
workflow_dispatch:
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
publish:
runs-on: ubuntu-22.04
if: success() && github.ref == 'refs/heads/main'
# if: success() && github.ref == 'refs/heads/main'
needs:
- test-guides
- test-functions
Expand Down Expand Up @@ -187,12 +187,12 @@ jobs:
run: |
PUBLIC_IMAGE_URI='${{ matrix.tag_public }}'
set +x
docker tag '${{ matrix.builder }}' "${PUBLIC_IMAGE_URI}"
docker push "${PUBLIC_IMAGE_URI}"
echo tag '${{ matrix.builder }}' "${PUBLIC_IMAGE_URI}"
echo push "${PUBLIC_IMAGE_URI}"
- name: Tag builder and push to internal registry
if: matrix.tag_private != ''
run: |
PRIVATE_IMAGE_URI='${{ secrets.REGISTRY_HOST }}/s/${{ secrets.SERVICE_TOKEN_USER_NAME }}/${{ matrix.tag_private }}'
set +x
docker tag '${{ matrix.builder }}' "${PRIVATE_IMAGE_URI}"
docker push "${PRIVATE_IMAGE_URI}"
echo tag '${{ matrix.builder }}' "${PRIVATE_IMAGE_URI}"
echo push "${PRIVATE_IMAGE_URI}"

0 comments on commit d5b4459

Please sign in to comment.