Skip to content

Commit

Permalink
pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
martabal committed Dec 12, 2023
1 parent ae29ec4 commit 933d598
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,13 @@ jobs:
images: |
name=ghcr.io/${{ github.repository_owner }}/${{ matrix.image }}-${{ matrix.target }}
tags: |
# Tag scheduled runs with date
type=raw,value=${{ github.ref_name }},enable=${{ github.event_name == 'push' }}
# Tag with branch name
type=schedule
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=ref,event=branch
# Tag with pr-number
type=ref,event=pr
# Tag with git tag on release
type=ref,event=tag
type=sha
- name: Build and push image
uses: docker/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Set git tag

on:
push:
branches: [main]
workflow_dispatch:
schedule:
- cron: "0 11 * * 4"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down

0 comments on commit 933d598

Please sign in to comment.