Skip to content

Commit

Permalink
Update Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
thohng committed Mar 21, 2024
1 parent 34c7268 commit 74373c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,13 @@ jobs:
"IMAGE_TAG=$newImageTag" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
}
- uses: actions/checkout@v3
- uses: actions/checkout@v4
if: ${{ success() && env.SKIP_DOCKER != 'true' && github.event_name != 'pull_request' }}

- name: Docker meta
id: meta
if: ${{ success() && env.SKIP_DOCKER != 'true' && github.event_name != 'pull_request' }}
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: netlah/aspnet-webssh
tags: |
Expand All @@ -148,11 +148,11 @@ jobs:
- name: Set up Docker Buildx
if: ${{ success() && env.SKIP_DOCKER != 'true' && github.event_name != 'pull_request' }}
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
if: ${{ success() && env.SKIP_DOCKER != 'true' && github.event_name != 'pull_request' }}
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
Expand Down

0 comments on commit 74373c3

Please sign in to comment.