Skip to content

Commit

Permalink
try to fix bug in github action
Browse files Browse the repository at this point in the history
  • Loading branch information
ooemperor committed Nov 19, 2024
1 parent c2f547b commit d34fb1f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker_client_build_publish_development.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker build and push
name: Docker build and push on development branch

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
Expand Down Expand Up @@ -64,9 +64,9 @@ jobs:
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags:
- type=raw,value=${{ github.event.inputs.tag }},enable=${{ github.event.inputs.tag != '' }}
- tpye=raw,value=development,priority=1,enable=${{ github.event.inputs.tag == '' }}
tags: |
type=raw,value=${{ github.event.inputs.tag }},enable=${{ github.event.inputs.tag != '' }}
tpye=raw,value=development,priority=1,enable=${{ github.event.inputs.tag == '' }}
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker_client_build_publish_main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker build and push
name: Docker build and push on main branch

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
Expand Down Expand Up @@ -64,8 +64,8 @@ jobs:
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags:
- type=raw,value=latest,priority=1
tags: |
type=raw,value=latest,priority=1
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
Expand Down

0 comments on commit d34fb1f

Please sign in to comment.