Skip to content

Commit f636007

Browse files
committed
Upgrade docker version
1 parent a963c4f commit f636007

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/build.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ on:
88

99
jobs:
1010
build:
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-latest
1212
steps:
1313
- name: checkout
14-
uses: actions/checkout@v2.0.0
14+
uses: actions/checkout@v3
1515

16-
- name: setup .net core
17-
uses: actions/setup-dotnet@v1.7.2
16+
- name: Setup dotnet
17+
uses: actions/setup-dotnet@v3
1818
with:
19-
dotnet-version: 6.0.100
19+
dotnet-version: '8.*'
2020

2121
- name: build
2222
run: dotnet build

.github/workflows/release.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ on:
2222

2323
jobs:
2424
push_to_registry:
25-
runs-on: ubuntu-22.04
25+
runs-on: ubuntu-latest
2626
if: ${{ github.event.workflow_run.conclusion != 'failure' }}
2727
steps:
2828
# Checkout latest or specific tag
2929
- name: checkout
3030
if: ${{ github.event.inputs.version == '' || github.event.inputs.version == 'latest' }}
31-
uses: actions/checkout@v2
31+
uses: actions/checkout@v3
3232
- name: checkout tag
3333
if: ${{ github.event.inputs.version != '' && github.event.inputs.version != 'latest' }}
34-
uses: actions/checkout@v2
34+
uses: actions/checkout@v3
3535
with:
3636
ref: refs/tags/${{ github.event.inputs.version }}
3737

@@ -51,15 +51,15 @@ jobs:
5151
5252
# Authenticate, build and push to GitHub Container Registry (ghcr.io)
5353
- name: Login to GitHub Container Registry
54-
uses: docker/login-action@v1
54+
uses: docker/login-action@v3
5555
with:
5656
registry: ghcr.io
5757
username: ${{ github.repository_owner }}
5858
password: ${{ secrets.GITHUB_TOKEN }}
5959

6060
# Build and push new docker image, skip for manual redeploy other than 'latest'
6161
- name: Build and push Docker images
62-
uses: docker/build-push-action@v2.2.2
62+
uses: docker/build-push-action@v6
6363
if: ${{ github.event.inputs.version == '' || github.event.inputs.version == 'latest' }}
6464
with:
6565
file: Dockerfile

0 commit comments

Comments
 (0)