File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: export_config
22
33on : workflow_call
44
5+ env :
6+ REGISTRY : ghcr.io
7+
58jobs :
69 export_config :
710 name : export_config
1114 image : ghcr.io/dpc-sdp/bay/ci-builder:5.x
1215 steps :
1316 - name : Checkout code
14- uses : actions/checkout@v3
17+ uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
20+ fetch-tags : true
21+ - name : Log into registry ghcr.io
22+ uses : docker/login-action@v3
23+ with :
24+ registry : ${{ env.REGISTRY }}
25+ username : ${{ github.actor }}
26+ password : ${{ secrets.GITHUB_TOKEN }}
27+ - name : Uncomment database snapshot environment variable
28+ run : |
29+ sed -i 's|# DB_IMAGE_SNAPSHOT|DB_IMAGE_SNAPSHOT|' .env
1530 - name : Configure Git
1631 run : |
1732 git config --global user.email "${{ secrets.DEPLOY_USER_EMAIL }}" && git config --global user.name "${{ secrets.DEPLOY_USER_NAME }}"
You can’t perform that action at this time.
0 commit comments