Skip to content

Commit

Permalink
Update base img 1 (#177)
Browse files Browse the repository at this point in the history
* trigger build on gcp

* trying to build with no cache

* få bygget til å bruke riktig image
  • Loading branch information
PoyanAfifi authored Jan 3, 2025
1 parent 46afab1 commit 18b69db
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/jupyterlab-docker-build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,13 @@ jobs:
context: docker/${{ env.NAME }}
file: docker/${{ env.NAME }}/Dockerfile
push: true
build-args: base_image=${{ env.REGISTRY }}/${{ env.BASE_IMAGE }}
# build-args: base_image=${{ env.REGISTRY }}/${{ env.BASE_IMAGE }}
build-args: base_image=europe-north1-docker.pkg.dev/artifact-registry-5n/dapla-stat-docker/jupyter/jupyterlab-common@sha256:0221fabe6d88704ab1396852cdfe224887b8ba0893577ba7d007b0cfd5c2b621
tags: |
${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_PREFIX }}${{ env.NAME }}:buildcache
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_PREFIX }}${{ env.NAME }}:buildcache,mode=max
# cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_PREFIX }}${{ env.NAME }}:buildcache
# cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_PREFIX }}${{ env.NAME }}:buildcache,mode=max
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

Expand Down

0 comments on commit 18b69db

Please sign in to comment.