Skip to content

Commit

Permalink
Stop publishing layers
Browse files Browse the repository at this point in the history
  • Loading branch information
danslapman committed Nov 28, 2023
1 parent c08dd93 commit dffcfac
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,6 @@ jobs:
tags: ${{ env.MOCKINGBIRD_TEST_IMAGE_JVM }}
if: ${{ ! ( github.ref_type == 'tag' || startsWith(github.event.head_commit.message, '[docker]') ) }}

- name: ZIP stages files
uses: montudor/action-zip@v1
with:
args: zip -r layers.zip ./backend/mockingbird-api/target/docker/stage
if: ${{ github.ref_type == 'tag' }}

- name: Log in to the Container registry
uses: docker/login-action@v2
with:
Expand All @@ -147,15 +141,6 @@ jobs:
tags: ghcr.io/leviysoft/mockingbird:${{ steps.get-ref.outputs.tag }}
if: ${{ github.ref_type == 'tag' || startsWith(github.event.head_commit.message, '[docker]') }}

- name: Publish layers
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: layers.zip
asset_name: layers.zip
tag: ${{ github.ref_name }}
if: ${{ github.ref_type == 'tag' }}

- name: Save docker image to file
run: |
docker save -o /tmp/image-jvm.tar ${{ env.MOCKINGBIRD_TEST_IMAGE_JVM }}
Expand Down

0 comments on commit dffcfac

Please sign in to comment.