From 6877d0482c7e8f818f9a4b6a9594f0d64bf705bd Mon Sep 17 00:00:00 2001 From: Patrick Schork Date: Wed, 8 Nov 2023 17:52:30 -0800 Subject: [PATCH] Wip --- .github/workflows/deploy-3-10.yaml | 5 ++++- .github/workflows/deploy-3-11.yaml | 5 ++++- .github/workflows/deploy-3-9.yaml | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-3-10.yaml b/.github/workflows/deploy-3-10.yaml index 7285dda..6e36eb0 100644 --- a/.github/workflows/deploy-3-10.yaml +++ b/.github/workflows/deploy-3-10.yaml @@ -19,6 +19,9 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Extract short git SHA + run: echo "GIT_REF=`git rev-parse --short HEAD`" >> $GITHUB_ENV + - name: Log in to Github Container registry uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 with: @@ -47,7 +50,7 @@ jobs: context: . file: ./py3.10/Dockerfile push: true - tags: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}_py_3_10:${{ github.ref_name }} + tags: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}_py_3_10:${{ env.GIT_REF }} labels: ${{ steps.meta.outputs.labels }} internal-py310-image: diff --git a/.github/workflows/deploy-3-11.yaml b/.github/workflows/deploy-3-11.yaml index 0a3ce28..1791223 100644 --- a/.github/workflows/deploy-3-11.yaml +++ b/.github/workflows/deploy-3-11.yaml @@ -19,6 +19,9 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Extract short git SHA + run: echo "GIT_REF=`git rev-parse --short HEAD`" >> $GITHUB_ENV + - name: Log in to Github Container registry uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 with: @@ -47,7 +50,7 @@ jobs: context: . file: ./py3.11/Dockerfile push: true - tags: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}_py_3_11:${{ github.ref_name }} + tags: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}_py_3_11:${{ env.GIT_REF }} labels: ${{ steps.meta.outputs.labels }} internal-py311-image: diff --git a/.github/workflows/deploy-3-9.yaml b/.github/workflows/deploy-3-9.yaml index 86b1419..58421d1 100644 --- a/.github/workflows/deploy-3-9.yaml +++ b/.github/workflows/deploy-3-9.yaml @@ -19,6 +19,9 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Extract short git SHA + run: echo "GIT_REF=`git rev-parse --short HEAD`" >> $GITHUB_ENV + - name: Log in to Github Container registry uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 with: @@ -47,7 +50,7 @@ jobs: context: . file: ./py3.9/Dockerfile push: true - tags: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}_py_3_9:${{ github.ref_name }} + tags: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}_py_3_9:${{ env.GIT_REF }} labels: ${{ steps.meta.outputs.labels }} internal-py39-image: