Loading .github/workflows/CI_LINUX.yml +0 −25 Original line number Diff line number Diff line Loading @@ -24,12 +24,6 @@ jobs: with: images: ${{ secrets.DOCKERHUB_USERNAME }}/pyinstaller-linux - name: Extract metadata (tags, labels) for Docker id: meta-slim uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 with: images: ${{ secrets.DOCKERHUB_USERNAME }}/pyinstaller-linux-slim - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 Loading @@ -51,22 +45,3 @@ jobs: ${{ github.ref_name }} ${{ secrets.DOCKERHUB_USERNAME }}/pyinstaller-linux:latest labels: ${{ steps.meta.outputs.labels }} - name: Build and push Docker image slim uses: docker/build-push-action@v3 with: context: . platforms: | linux/i386 linux/amd64 linux/arm/v5 linux/arm/v7 linux/arm64/v8 linux/ppc64le linux/s390x file: Dockerfile-py3-linux-slim push: true tags: | ${{ github.ref_name }} ${{ secrets.DOCKERHUB_USERNAME }}/pyinstaller-linux-slim:latest labels: ${{ steps.meta-slim.outputs.labels }} .github/workflows/CI_LINUX_SLIM.yml 0 → 100644 +47 −0 Original line number Diff line number Diff line name: CI LINUX SLIM on: push: tags: [ 'v*.*.*' ] jobs: build_and_push_to_registry: name: Push Docker image to Docker Hub runs-on: ubuntu-latest steps: - name: Check out the repo uses: actions/checkout@v3 - name: Log in to Docker Hub uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Extract metadata (tags, labels) for Docker id: meta uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 with: images: ${{ secrets.DOCKERHUB_USERNAME }}/pyinstaller-linux-slim - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - name: Build and push Docker image uses: docker/build-push-action@v3 with: context: . platforms: | linux/i386 linux/amd64 linux/arm/v5 linux/arm/v7 linux/arm64/v8 linux/ppc64le linux/s390x file: Dockerfile-py3-linux push: true tags: | ${{ github.ref_name }} ${{ secrets.DOCKERHUB_USERNAME }}/pyinstaller-linux-slim:latest labels: ${{ steps.meta.outputs.labels }} Loading
.github/workflows/CI_LINUX.yml +0 −25 Original line number Diff line number Diff line Loading @@ -24,12 +24,6 @@ jobs: with: images: ${{ secrets.DOCKERHUB_USERNAME }}/pyinstaller-linux - name: Extract metadata (tags, labels) for Docker id: meta-slim uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 with: images: ${{ secrets.DOCKERHUB_USERNAME }}/pyinstaller-linux-slim - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 Loading @@ -51,22 +45,3 @@ jobs: ${{ github.ref_name }} ${{ secrets.DOCKERHUB_USERNAME }}/pyinstaller-linux:latest labels: ${{ steps.meta.outputs.labels }} - name: Build and push Docker image slim uses: docker/build-push-action@v3 with: context: . platforms: | linux/i386 linux/amd64 linux/arm/v5 linux/arm/v7 linux/arm64/v8 linux/ppc64le linux/s390x file: Dockerfile-py3-linux-slim push: true tags: | ${{ github.ref_name }} ${{ secrets.DOCKERHUB_USERNAME }}/pyinstaller-linux-slim:latest labels: ${{ steps.meta-slim.outputs.labels }}
.github/workflows/CI_LINUX_SLIM.yml 0 → 100644 +47 −0 Original line number Diff line number Diff line name: CI LINUX SLIM on: push: tags: [ 'v*.*.*' ] jobs: build_and_push_to_registry: name: Push Docker image to Docker Hub runs-on: ubuntu-latest steps: - name: Check out the repo uses: actions/checkout@v3 - name: Log in to Docker Hub uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Extract metadata (tags, labels) for Docker id: meta uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 with: images: ${{ secrets.DOCKERHUB_USERNAME }}/pyinstaller-linux-slim - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - name: Build and push Docker image uses: docker/build-push-action@v3 with: context: . platforms: | linux/i386 linux/amd64 linux/arm/v5 linux/arm/v7 linux/arm64/v8 linux/ppc64le linux/s390x file: Dockerfile-py3-linux push: true tags: | ${{ github.ref_name }} ${{ secrets.DOCKERHUB_USERNAME }}/pyinstaller-linux-slim:latest labels: ${{ steps.meta.outputs.labels }}