Skip to content

Commit

Permalink
update github action script
Browse files Browse the repository at this point in the history
  • Loading branch information
JheSue committed Mar 5, 2024
1 parent 4ebd118 commit 21f8133
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Docker Image CI

on:
push:
#tags: [ '*' ]
branches: [ 'main' ]
tags: [ '*' ]
#branches: [ 'main' ]

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -31,8 +31,9 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
#type=sha
type=sha,prefix=
type=ref,event=tag
#type=semver,pattern={{raw}}
#type=sha,prefix=
- name: Build and push Docker image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
Expand Down

0 comments on commit 21f8133

Please sign in to comment.