diff --git a/.github/workflows/continuous-integration-secure.yml b/.github/workflows/continuous-integration-secure.yml index f0d040d20b..8a8501511a 100644 --- a/.github/workflows/continuous-integration-secure.yml +++ b/.github/workflows/continuous-integration-secure.yml @@ -69,15 +69,6 @@ jobs: docker push $IMAGE_REPO_PREVIEW:pr$PR_NUMBER env: DOCKER_BUILDKIT: 1 - - name: Build slim image - uses: kitabisa/docker-slim-action@v1 - with: - target: '{{ env.IMAGE_REPO_PREVIEW }}:pr{{ env.PR_NUMBER }}' - tag: '{{ env.IMAGE_REPO_PREVIEW }}:pr{{ env.PR_NUMBER }}-slim' - - name: Push slim image - run: | - docker push $IMAGE_REPO_PREVIEW:pr$PR_NUMBER-slim - docker image list - name: "Add 'preview-available' label" # This label is used for filtering deployments in ArgoCD @@ -190,16 +181,6 @@ jobs: docker push $IMAGE_REPO_VISUAL_REGRESSION:pr$PR_NUMBER env: DOCKER_BUILDKIT: 1 - - name: Build slim image - uses: kitabisa/docker-slim-action@v1 - with: - target: '{{ env.IMAGE_REPO_VISUAL_REGRESSION }}:pr{{ env.PR_NUMBER }}' - tag: '{{ env.IMAGE_REPO_VISUAL_REGRESSION }}:pr{{ env.PR_NUMBER }}-slim' - - name: Push slim image - run: | - docker push $IMAGE_REPO_VISUAL_REGRESSION:pr{{ env.PR_NUMBER }}-slim - docker image list - - name: Apply labels if: steps.screenshot-check.outputs.result == 'changed' || steps.screenshot-check.outputs.result == 'empty' run: | diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 492c614a4c..9a914d9a37 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -159,12 +159,3 @@ jobs: docker push $IMAGE_REPO_VISUAL_REGRESSION:baseline env: DOCKER_BUILDKIT: 1 - - name: Build slim image - uses: kitabisa/docker-slim-action@v1 - with: - target: '{{ env.IMAGE_REPO_VISUAL_REGRESSION }}:baseline' - tag: '{{ env.IMAGE_REPO_VISUAL_REGRESSION }}:baseline-slim' - - name: Push slim image - run: | - docker push $IMAGE_REPO_VISUAL_REGRESSION:baseline-slim - docker image list diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 469805cded..d59a6bb33e 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -94,41 +94,12 @@ jobs: env: DOCKER_BUILDKIT: 1 VERSION: ${{ steps.release.outputs.version }} - - name: Build slim image with version - if: ${{ steps.release.outputs.release_created }} - uses: kitabisa/docker-slim-action@v1 - with: - target: '{{ env.IMAGE_REPO_STORYBOOK }}:${{ steps.release.outputs.version }}' - tag: '{{ env.IMAGE_REPO_STORYBOOK }}:${{ steps.release.outputs.version }}-slim' - - name: Build slim image with latest - if: ${{ steps.release.outputs.release_created }} - uses: kitabisa/docker-slim-action@v1 - with: - target: '{{ env.IMAGE_REPO_STORYBOOK }}:latest' - tag: '{{ env.IMAGE_REPO_STORYBOOK }}:latest-slim' - - name: Push slim image - if: ${{ steps.release.outputs.release_created }} - run: | - docker push $IMAGE_REPO_STORYBOOK:$VERSION-slim - docker push $IMAGE_REPO_STORYBOOK:latest-slim - docker image list - env: - VERSION: ${{ steps.release.outputs.version }} - name: 'Container: Build and publish dev image' run: | docker build --tag $IMAGE_REPO_STORYBOOK:dev . docker push $IMAGE_REPO_STORYBOOK:dev env: DOCKER_BUILDKIT: 1 - - name: Build slim image with dev - uses: kitabisa/docker-slim-action@v1 - with: - target: '{{ env.IMAGE_REPO_STORYBOOK }}:dev' - tag: '{{ env.IMAGE_REPO_STORYBOOK }}:dev-slim' - - name: Push slim image - run: | - docker push $IMAGE_REPO_STORYBOOK:dev-slim - docker image list - name: Cherry-pick CHANGELOG.md into ${{ github.event.repository.default_branch }} if: ${{ steps.release.outputs.release_created && github.ref_name != 'main' }}