Skip to content

Commit

Permalink
adds date tag + latest
Browse files Browse the repository at this point in the history
  • Loading branch information
norlandrhagen committed Sep 24, 2024
1 parent 9f9aaa1 commit 70c1f7c
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ jobs:
sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc
df -h
- name: Set Environment Variables
run: |
echo "DATE_TAG=$(TZ='America/Seattle' date +'%Y.%m.%d')" >> "$GITHUB_ENV"
- name: Checkout files in repo
uses: actions/checkout@main

Expand All @@ -31,12 +37,14 @@ jobs:
DOCKER_USERNAME: ${{ secrets.QUAY_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
DOCKER_REGISTRY: "quay.io"
# Disable pushing a 'latest' tag, as this often just causes confusion
LATEST_TAG_OFF: true
#

# Uncomment and modify the following line with your image name, otherwise no push will happen
IMAGE_NAME: "leap-stc/rclone-beam"

ADDITIONAL_TAG: ${{ env.DATE_TAG }}

# Disable pushing a 'latest' tag, as this often just causes confusion
LATEST_TAG_OFF: false
# Lets us monitor disks getting full as images get bigger over time
- name: Show how much disk space is left
run: df -h

0 comments on commit 70c1f7c

Please sign in to comment.