Skip to content

Commit

Permalink
[SQUASH] Verify ocean loads for build image
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzaadi committed Oct 8, 2024
1 parent ca1ee7f commit bc5397d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
- name: Cache Docker images
uses: ScribeMD/[email protected]
with:
key: docker-${{ steps.get-docker-image.outputs.base_image }}-${{ matrix.platform }}
key: docker-${{ matrix.integration }}-${{ steps.get-docker-image.outputs.base_image }}-${{ matrix.platform }}

- name: Build
uses: docker/build-push-action@v6
Expand All @@ -118,9 +118,14 @@ jobs:
file: ${{ steps.prepare_tags.outputs.dockerfile_path }}
platforms: ${{ matrix.platform }}
push: false
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
tags: ${{ steps.prepare_tags.outputs.tags }}
build-args: |
BUILD_CONTEXT=${{ steps.prepare_tags.outputs.context_dir }}
INTEGRATION_VERSION=${{ steps.prepare_tags.outputs.version }}
- name: Verify Built Image
run: |
docker run --platform ${{ matrix.platform }} --rm --entrypoint bash ${{ steps.prepare_tags.outputs.tags }} -c 'ocean version'

0 comments on commit bc5397d

Please sign in to comment.