Skip to content

Commit

Permalink
update tags in build to use new format (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
dakota002 authored Dec 3, 2024
1 parent 6784253 commit f5e0ae5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
push:
branches:
- main
schedule:
- cron: 0 6 * * *

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -45,6 +43,7 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
type=raw,value={{date 'YYYYMMDD-HHmmss'}}-{{sha}}
- name: Build and push Docker image
uses: docker/build-push-action@v6
Expand Down

0 comments on commit f5e0ae5

Please sign in to comment.