Skip to content

Commit

Permalink
Create daily tag
Browse files Browse the repository at this point in the history
This prevents lingering layers and makes cleaning up in the future easier.
  • Loading branch information
WyriHaximus committed Sep 22, 2024
1 parent 423ffcb commit f56c0a0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ jobs:
name: Build Image
runs-on: ubuntu-latest
steps:
- name: Get Time
id: time
uses: nanzm/[email protected]
with:
format: 'YYYY.MM.DD'
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand All @@ -27,5 +32,5 @@ jobs:
uses: docker/build-push-action@v6
with:
push: ${{ github.event_name != 'pull_request' }}
tags: ghcr.io/wyrihaximusnet/docker-github-action-runner:latest
tags: ghcr.io/wyrihaximusnet/docker-github-action-runner:latest,ghcr.io/wyrihaximusnet/docker-github-action-runner:${{ steps.time.outputs.time }}
platforms: linux/amd64,linux/arm64

0 comments on commit f56c0a0

Please sign in to comment.