fix: mount /apps and docker socket in PR workflow build-and-deploy-ci job #41
@@ -75,9 +75,8 @@ jobs:
|
|||||||
# Update the image tag in the compose file
|
# Update the image tag in the compose file
|
||||||
sed -i "s|image: docker.notsosm.art/euchre-camp:[a-zA-Z0-9.-]*|image: docker.notsosm.art/euchre-camp:${IMAGE_TAG}|" ${COMPOSE_FILE}
|
sed -i "s|image: docker.notsosm.art/euchre-camp:[a-zA-Z0-9.-]*|image: docker.notsosm.art/euchre-camp:${IMAGE_TAG}|" ${COMPOSE_FILE}
|
||||||
|
|
||||||
# Pull the new image and restart the CI stack
|
# Image was built locally in the previous step; compose uses it without pulling
|
||||||
cd /apps/euchre_camp_ci
|
cd /apps/euchre_camp_ci
|
||||||
docker compose pull app
|
|
||||||
docker compose up -d app
|
docker compose up -d app
|
||||||
|
|
||||||
- name: Wait for CI site to be healthy
|
- name: Wait for CI site to be healthy
|
||||||
@@ -145,6 +144,7 @@ jobs:
|
|||||||
echo "reason=$REASON" >> $GITHUB_OUTPUT
|
echo "reason=$REASON" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Comment bump type on PR
|
- name: Comment bump type on PR
|
||||||
|
if: github.event_name == 'pull_request'
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
|
|||||||
Reference in New Issue
Block a user