Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
leto1210 authored Jun 24, 2024
1 parent d427e24 commit ad0339d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: benjlevesque/short-sha@v3
- uses: benjlevesque/short-sha@v3.0
id: short-sha
with:
length: 6
Expand All @@ -28,7 +28,7 @@ jobs:
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:${{ steps.short-sha.outputs.sha }}
- name: Login to Docker Hub
uses: docker/login-action@v3.2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down

0 comments on commit ad0339d

Please sign in to comment.