Skip to content

Commit 7aa6303

Browse files
committed
feat: test devtest with new base images
1 parent a5ac49e commit 7aa6303

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/stage-3-build-images-devtest.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,22 +113,22 @@ jobs:
113113
if: ${{ steps.detect-base-image-changes.outputs.BASE_IMAGE_CHANGE == 'true' || github.ref == 'refs/heads/main' }}
114114
continue-on-error: false
115115
run: |
116-
PR_NUM_TAG=$(echo "${GITHUB_REF}" | sed 's/refs\/pull\/\([0-9]*\)\/merge/\1/')
116+
#PR_NUM_TAG=$(echo "${GITHUB_REF}" | sed 's/refs\/pull\/\([0-9]*\)\/merge/\1/')
117117
SHORT_COMMIT_HASH=$(git rev-parse --short ${GITHUB_SHA})
118118
echo $SHORT_COMMIT_HASH
119119
echo $PR_NUM_TAG
120120
121121
docker build -f Dockerfile.dotnet.base -t cohort-manager-dotnet-base:latest .
122-
docker tag cohort-manager-dotnet-base:latest "ghcr.io/nhsdigital/cohort-manager-dotnet-base:${PR_NUM_TAG}"
122+
#docker tag cohort-manager-dotnet-base:latest "ghcr.io/nhsdigital/cohort-manager-dotnet-base:${PR_NUM_TAG}"
123123
docker tag cohort-manager-dotnet-base:latest "ghcr.io/nhsdigital/cohort-manager-dotnet-base:${SHORT_COMMIT_HASH}"
124124
125125
docker build -f Dockerfile.function.base -t cohort-manager-function-base:latest .
126-
docker tag cohort-manager-function-base:latest "ghcr.io/nhsdigital/cohort-manager-function-base:${PR_NUM_TAG}"
126+
#docker tag cohort-manager-function-base:latest "ghcr.io/nhsdigital/cohort-manager-function-base:${PR_NUM_TAG}"
127127
docker tag cohort-manager-function-base:latest "ghcr.io/nhsdigital/cohort-manager-function-base:${SHORT_COMMIT_HASH}"
128128
129-
docker push "ghcr.io/nhsdigital/cohort-manager-dotnet-base:${PR_NUM_TAG}"
129+
#docker push "ghcr.io/nhsdigital/cohort-manager-dotnet-base:${PR_NUM_TAG}"
130130
docker push "ghcr.io/nhsdigital/cohort-manager-dotnet-base:${SHORT_COMMIT_HASH}"
131-
docker push "ghcr.io/nhsdigital/cohort-manager-function-base:${PR_NUM_TAG}"
131+
#docker push "ghcr.io/nhsdigital/cohort-manager-function-base:${PR_NUM_TAG}"
132132
docker push "ghcr.io/nhsdigital/cohort-manager-function-base:${SHORT_COMMIT_HASH}"
133133
if [ "${GITHUB_REF}" == 'refs/heads/main' ]; then
134134
docker push "ghcr.io/nhsdigital/cohort-manager-dotnet-base:latest"

0 commit comments

Comments
 (0)