remove debug, but reduce meta-ing the docker digest

This commit is contained in:
41666 2022-02-06 22:56:44 -05:00
parent d116caccf2
commit 06737f4bc7

View file

@ -134,29 +134,13 @@ jobs:
with:
name: ${{ matrix.dockerfile }}-digest
path: digest.txt
trigger_deploy_test:
name: Test Deploy Artifacts
needs:
- docker_build
runs-on: ubuntu-latest
steps:
- name: Get Bot digest
uses: actions/download-artifact@v2
with:
name: bot-digest
path: .digests/bot
- run: |
ls .digests
ls .digests/bot
cat .digests/bot
cat .digests/bot/*
trigger_deploy:
name: Deploy to Stage
needs:
- docker_build
- worker_build
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/ci/refresh'
runs-on: ubuntu-latest
steps:
- name: Get Bot digest
@ -170,13 +154,7 @@ jobs:
env:
IMAGES: bot
run: |
set_digest_output() {
echo ::set-output name=$1::@$(cat .digests/$1/digest.txt)
}
for image in $IMAGES; do
set_digest_output $image
done
echo ::set-output name=$1::@$(cat .digests/bot/digest.txt)
- name: Invoke Deploy workflow
uses: benc-uk/workflow-dispatch@v1