Skip to content

Commit

Permalink
Use digest instead of tag so VM uses right image.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdangerx committed Jan 3, 2024
1 parent 5a81260 commit 46594a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-deploy-pudl.yml
Expand Up @@ -92,6 +92,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build image and push to Docker Hub
id: docker-build
if: ${{ env.SKIP_BUILD != 'true' }}
uses: docker/build-push-action@v5
with:
Expand Down Expand Up @@ -127,7 +128,7 @@ jobs:
--metadata-from-file startup-script=./docker/vm_startup_script.sh
gcloud compute instances update-container "$GCE_INSTANCE" \
--zone "$GCE_INSTANCE_ZONE" \
--container-image "docker.io/catalystcoop/pudl-etl:${{ env.BUILD_REF }}" \
--container-image "docker.io/catalystcoop/pudl-etl@${{ steps.docker-build.outputs.digest }}" \
--container-command "micromamba" \
--container-arg="run" \
--container-arg="--prefix" \
Expand Down

0 comments on commit 46594a7

Please sign in to comment.