Skip to content

Commit

Permalink
use docker for the second build
Browse files Browse the repository at this point in the history
  • Loading branch information
y3rsh committed Nov 7, 2024
1 parent 7500bc2 commit 387ec82
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/analyses-snapshot-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,23 +87,9 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max

- name: List docker images
run: docker images

- name: Build analysis image
uses: docker/build-push-action@v6
with:
context: analyses-snapshot-testing/citools
file: analyses-snapshot-testing/citools/Dockerfile.analyze
push: false
load: true
tags: opentrons-analysis:${{ env.ANALYSIS_REF }}
build-args: |
BASE_IMAGE_NAME=${{ env.BASE_IMAGE_NAME }}
ANALYSIS_REF=${{ env.ANALYSIS_REF }}
CACHEBUST=$(date +%s)
cache-from: type=gha
cache-to: type=gha,mode=max
working-directory: analyses-snapshot-testing
run: make build-opentrons-analysis BASE_IMAGE_NAME=${{ env.BASE_IMAGE_NAME }} ANALYSIS_REF=${{ env.ANALYSIS_REF }} CACHEBUST=${{ github.run_number }}

- name: Set up Python 3.13
uses: actions/setup-python@v5
Expand Down

0 comments on commit 387ec82

Please sign in to comment.