Skip to content

Commit

Permalink
Upgrade GHA used actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mannkind committed Jun 3, 2024
1 parent 8812711 commit d9d6932
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
version: ${{ steps.version.outputs.number }}
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup dotnet
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'

Expand All @@ -43,16 +43,16 @@ jobs:
needs: build
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Login to Dockerhub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Login to GHCR
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ secrets.DOCKER_USERNAME }}
Expand All @@ -76,7 +76,7 @@ jobs:
- name: Build and Push (Dev)
if: github.event_name == 'workflow_dispatch'
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
push: true
platforms: "linux/amd64,linux/arm64,linux/arm/v7"
Expand All @@ -86,7 +86,7 @@ jobs:

- name: Build and Push (Main)
if: github.ref == 'refs/heads/main'
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
push: true
platforms: "linux/amd64,linux/arm64,linux/arm/v7"
Expand All @@ -101,7 +101,7 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Tag Revision
run: |
git tag -f ${{ needs.build.outputs.version }}
Expand Down

0 comments on commit d9d6932

Please sign in to comment.