mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
remove debug, but reduce meta-ing the docker digest
This commit is contained in:
parent
d116caccf2
commit
06737f4bc7
1 changed files with 2 additions and 24 deletions
26
.github/workflows/build.yml
vendored
26
.github/workflows/build.yml
vendored
|
@ -134,29 +134,13 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.dockerfile }}-digest
|
name: ${{ matrix.dockerfile }}-digest
|
||||||
path: digest.txt
|
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:
|
trigger_deploy:
|
||||||
name: Deploy to Stage
|
name: Deploy to Stage
|
||||||
needs:
|
needs:
|
||||||
- docker_build
|
- docker_build
|
||||||
- worker_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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Get Bot digest
|
- name: Get Bot digest
|
||||||
|
@ -170,13 +154,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
IMAGES: bot
|
IMAGES: bot
|
||||||
run: |
|
run: |
|
||||||
set_digest_output() {
|
echo ::set-output name=$1::@$(cat .digests/bot/digest.txt)
|
||||||
echo ::set-output name=$1::@$(cat .digests/$1/digest.txt)
|
|
||||||
}
|
|
||||||
|
|
||||||
for image in $IMAGES; do
|
|
||||||
set_digest_output $image
|
|
||||||
done
|
|
||||||
|
|
||||||
- name: Invoke Deploy workflow
|
- name: Invoke Deploy workflow
|
||||||
uses: benc-uk/workflow-dispatch@v1
|
uses: benc-uk/workflow-dispatch@v1
|
||||||
|
|
Loading…
Add table
Reference in a new issue