Skip to content

Commit

Permalink
Build optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGroundZero committed Sep 22, 2024
1 parent 11e717f commit 64012ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ jobs:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: |
${{ steps.meta.outputs.labels }}
${{ github.event_name != 'pull_request' && 'latest' || '' }}
cache-from: type=gha
cache-to: type=gha,mode=max
file: ./Containerfile
Expand Down
3 changes: 1 addition & 2 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
ARG ALPINE_VERSION=latest
FROM alpine:${ALPINE_VERSION}

MAINTAINER TheGroundZero <2406013+TheGroundZero@users.noreply.github.com>

LABEL org.opencontainers.image.authors="TheGroundZero <2406013+TheGroundZero@users.noreply.github.com>"
LABEL org.opencontainers.image.source=https://github.com/TheGroundZero/flicd-container
LABEL org.opencontainers.image.description="Container for flic daemon"
LABEL org.opencontainers.image.licenses=MIT
Expand Down

0 comments on commit 64012ad

Please sign in to comment.