We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2e1a83 commit 2091861Copy full SHA for 2091861
.github/workflows/run_db_trigger.yml
@@ -35,6 +35,8 @@ on:
35
required: true
36
SLACK_WEBHOOK_URL:
37
38
+ DB_IMAGE_MARIADB_ROOT_PASSWORD:
39
+ required: true
40
41
env:
42
REGISTRY: ghcr.io
@@ -100,8 +102,9 @@ jobs:
100
102
exit 1
101
103
fi
104
- - name: Stop the intermediary container
- run: docker stop "${{ steps.container.outputs.id }}"
105
+ - name: Gracefully shutdown the intermediary container
106
+ run: docker exec -i "${{ steps.container.outputs.id }}" mysqladmin -u root -p${{ secrets.DB_IMAGE_MARIADB_ROOT_PASSWORD }} shutdown
107
+ continue-on-error: true
108
109
- name: Download the DB image dockerfile
110
run: curl -o Dockerfile.seed https://raw.githubusercontent.com/dpc-sdp/github-actions/main/.docker/Dockerfile.seed
0 commit comments