Skip to content

Commit

Permalink
TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
crosenth committed Aug 13, 2024
1 parent c2a5495 commit 7adab55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,12 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Set VERSION variable from tag
run: |
echo "TAG=${{ steps.meta.outputs.version }}" >> $GITHUB_ENV
echo "VERSION=${TAG#v}" >> $GITHUB_ENV
- name: Build and push
id: build-and-push
uses: docker/build-push-action@v6
with:
annotations: ${{ steps.meta.outputs.annotations }}
build-args: VERSION=$TAG
build-args: VERSION=${{ steps.meta.outputs.version }}
cache-from: type=gha
cache-to: type=gha,mode=max
labels: ${{ steps.meta.outputs.labels }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM python:3.11-slim-bullseye

ARG VERSION=
ENV PIP_ROOT_USER_ACTION=ignore TAXTASTIC_VERSION=$VERSION
ENV PIP_ROOT_USER_ACTION=ignore TAXTASTIC_VERSION=${VERSION#v}

RUN apt-get -y update && apt-get upgrade -y && apt-get install -y unzip wget

Expand Down

0 comments on commit 7adab55

Please sign in to comment.