diff --git a/.github/workflows/deploy-3-10.yaml b/.github/workflows/deploy-3-10.yaml index 73e98a9..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: @@ -32,7 +35,7 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}_py_3_10 - - name: Push Docker image to Github Container registry + - name: Push Docker image as LATEST to Github Container registry uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 with: context: . @@ -41,6 +44,15 @@ jobs: tags: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}_py_3_10:latest labels: ${{ steps.meta.outputs.labels }} + - name: Push Docker image git ref to Github Container registry + uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 + with: + context: . + file: ./py3.10/Dockerfile + push: true + tags: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}_py_3_10:${{ env.GIT_REF }} + labels: ${{ steps.meta.outputs.labels }} + internal-py310-image: runs-on: ubuntu-latest permissions: diff --git a/.github/workflows/deploy-3-11.yaml b/.github/workflows/deploy-3-11.yaml index 1ad47c3..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: @@ -32,7 +35,7 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}_py_3_11 - - name: Push Docker image to Github Container registry + - name: Push Docker image as LATEST to Github Container registry uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 with: context: . @@ -41,6 +44,15 @@ jobs: tags: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}_py_3_11:latest labels: ${{ steps.meta.outputs.labels }} + - name: Push Docker image git ref to Github Container registry + uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 + with: + context: . + file: ./py3.11/Dockerfile + push: true + tags: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}_py_3_11:${{ env.GIT_REF }} + labels: ${{ steps.meta.outputs.labels }} + internal-py311-image: runs-on: ubuntu-latest permissions: diff --git a/.github/workflows/deploy-3-9.yaml b/.github/workflows/deploy-3-9.yaml index 7525bb7..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: @@ -32,7 +35,7 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}_py_3_9 - - name: Push Docker image to Github Container registry + - name: Push Docker image as LATEST to Github Container registry uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 with: context: . @@ -41,6 +44,15 @@ jobs: tags: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}_py_3_9:latest labels: ${{ steps.meta.outputs.labels }} + - name: Push Docker image git ref to Github Container registry + uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 + with: + context: . + file: ./py3.9/Dockerfile + push: true + tags: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}_py_3_9:${{ env.GIT_REF }} + labels: ${{ steps.meta.outputs.labels }} + internal-py39-image: runs-on: ubuntu-latest permissions: