Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
yajith committed Sep 25, 2024
1 parent c42082a commit 0e73978
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/portainer-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,7 @@ jobs:
with:
images: ${{ env.DOCKER_HUB_REPO }}
tags: |
# Tag for branches that match 'release/*', extract the part after 'release/' as the tag
type=ref,event=branch,pattern=refs/heads/chore/*,group=release,format={{trimPrefix refs/heads/chore/ .RefName}}
# Tag for all other branches (e.g., main, develop) using the branch name directly
type=ref,event=branch,pattern=*,group=branch,format={{ .RefName }}
# Tag for pull requests using the PR number (e.g., pr123)
type=ref,event=pr,format=pr{{ .RefNum }
type=sha
- name: "[build] build and push by digest"
id: build
Expand All @@ -80,6 +75,7 @@ jobs:
build-args: |
GIT_COMMIT=$(git log -1 --format=%h)
OSVERSION=${{ matrix.config.version }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,name=${{ env.DOCKER_HUB_REPO }},push-by-digest=true,name-canonical=true,push=true
cache-from: type=gha
Expand Down

0 comments on commit 0e73978

Please sign in to comment.