Skip to content

Commit

Permalink
Using new BF_PUBLISHING environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bfren committed Feb 23, 2024
1 parent 4b3c1e9 commit 5a2d5a3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ jobs:
build-args: |
BF_IMAGE=${{ env.REPOSITORY_NAME }}
BF_VERSION=${{ steps.version.outputs.contents }}
BF_PUBLISH=0
push: ${{ startsWith(github.ref, 'refs/heads/') }}
platforms: linux/amd64,linux/arm/v7,linux/arm64
tags: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ jobs:
file: ./${{ matrix.clamav }}/Dockerfile
build-args: |
BF_IMAGE=${{ env.REPOSITORY_NAME }}
BF_PUBLISHING=1
BF_VERSION=${{ steps.version.outputs.contents }}
BF_PUBLISH=1
push: true
platforms: linux/amd64,linux/arm/v7,linux/arm64
tags: |
Expand Down
2 changes: 1 addition & 1 deletion overlay/tmp/install
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def main [] {
bf build add ClamAV $version

# download the main database so startup is much quicker (makes for larger image size)
if (bf env check PUBLISH) { ^freshclam }
if (bf env check PUBLISHING) { ^freshclam }

# add bf-clamav module to config
bf config use bf-clamav
Expand Down

0 comments on commit 5a2d5a3

Please sign in to comment.