Skip to content

Commit

Permalink
Merge 46f83ed into 676f89f
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Feb 21, 2024
2 parents 676f89f + 46f83ed commit 17aa869
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/gating.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ jobs:
containerfiles: Dockerfile
build-args: |
GITHUB_SHA=${{ github.sha }}
EXPIRES_AFTER=${{ github.ref == 'refs/heads/master' && 'never' || '30d' }}
- name: Log in to the image registry
if: github.event_name == 'push' && github.actor != 'dependabot[bot]'
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ RUN set -ex \
# --- Final image
FROM scratch
ARG GITHUB_SHA
ARG EXPIRES_AFTER
LABEL \
summary="WaiverDB application" \
description="An engine for storing waivers against test results." \
Expand All @@ -68,7 +69,8 @@ LABEL \
url="https://github.com/release-engineering/waiverdb" \
vcs-type="git" \
vcs-ref=$GITHUB_SHA \
io.k8s.display-name="WaiverDB"
io.k8s.display-name="WaiverDB" \
quay.expires-after=$EXPIRES_AFTER

ENV \
PYTHONFAULTHANDLER=1 \
Expand Down

0 comments on commit 17aa869

Please sign in to comment.