Skip to content

Commit

Permalink
Update publish-docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeongyong-park authored Nov 4, 2024
1 parent ecd0004 commit 449825b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -33,15 +33,14 @@ jobs:
uses: docker/metadata-action@v5
with:
images: kladess/clusterodm
flavor: |
latest=true
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}.{{minor}}
type=ref,event=branch,pattern=latest
- name: Build and push Docker image
id: docker_build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
Expand Down

0 comments on commit 449825b

Please sign in to comment.