Skip to content

Commit

Permalink
pass PACKAGE_VERSION build arg to buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Nov 16, 2023
1 parent a1cbdb2 commit c981a9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ jobs:
with:
context: "{{defaultContext}}:container"
platforms: linux/amd64,linux/arm64
build-args: |
PACKAGE_VERSION=${{ steps.meta.outputs.version }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
1 change: 0 additions & 1 deletion container/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# syntax=docker/dockerfile:1
FROM python:3.12-slim

ARG IMAGE_VERSION
ARG PACKAGE_VERSION

RUN <<EOT
Expand Down

0 comments on commit c981a9c

Please sign in to comment.