Unverified Commit 66e251f5 authored by github-actions[bot]'s avatar github-actions[bot] Committed by GitHub
Browse files

Updated images tags (#67)

parent f87edd79
Loading
Loading
Loading
Loading
+11 −10
Original line number Diff line number Diff line
@@ -64,12 +64,13 @@ jobs:

      # Build and push Docker image with Buildx (don't push on PR)
      # https://github.com/docker/build-push-action
      - name: Build and push Docker image
        id: build-and-push

      - name: Build and push slim Docker image
        id: build-slim-and-push
        uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
        with:
          context: .
          file: Dockerfile-py3-linux
          file: Dockerfile-py3-linux-slim
          platforms: |
            linux/amd64
            linux/arm64
@@ -80,18 +81,18 @@ jobs:
            linux/s390x
          push: ${{ github.event_name != 'pull_request' }}
          tags: |
            ${{ steps.meta.outputs.tags }}
            ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
            ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}-slim
            ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest-slim
          labels: ${{ steps.meta.outputs.labels }}
          cache-from: type=gha
          cache-to: type=gha,mode=max

      - name: Build and push slim Docker image
        id: build-slim-and-push
      - name: Build and push Docker image
        id: build-and-push
        uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
        with:
          context: .
          file: Dockerfile-py3-linux-slim
          file: Dockerfile-py3-linux
          platforms: |
            linux/amd64
            linux/arm64
@@ -102,8 +103,8 @@ jobs:
            linux/s390x
          push: ${{ github.event_name != 'pull_request' }}
          tags: |
            ${{ steps.meta.outputs.tags }}-slim
            ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest-slim
            ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
            ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
          labels: ${{ steps.meta.outputs.labels }}
          cache-from: type=gha
          cache-to: type=gha,mode=max
+7 −6
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ jobs:
        name: Build and push
        uses: docker/build-push-action@v5
        with:
          file: ./Dockerfile-py3-linux
          file: ./Dockerfile-py3-linux-slim
          platforms: |
            linux/i386
            linux/amd64
@@ -35,13 +35,14 @@ jobs:
            linux/s390x
          push: true
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/pyinstaller-linux:${{ github.ref_name }}
            ${{ secrets.DOCKERHUB_USERNAME }}/pyinstaller-linux:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/pyinstaller-linux:${{ github.ref_name }}-slim
            ${{ secrets.DOCKERHUB_USERNAME }}/pyinstaller-linux:latest-slim

      -
        name: Build and push
        uses: docker/build-push-action@v5
        with:
          file: ./Dockerfile-py3-linux-slim
          file: ./Dockerfile-py3-linux
          platforms: |
            linux/i386
            linux/amd64
@@ -52,5 +53,5 @@ jobs:
            linux/s390x
          push: true
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/pyinstaller-linux:${{ github.ref_name }}-slim
            ${{ secrets.DOCKERHUB_USERNAME }}/pyinstaller-linux:latest-slim
            ${{ secrets.DOCKERHUB_USERNAME }}/pyinstaller-linux:${{ github.ref_name }}
            ${{ secrets.DOCKERHUB_USERNAME }}/pyinstaller-linux:latest