@@ -12,13 +12,13 @@ jobs:
1212 steps :
1313 - uses : actions/checkout@v3
1414 - name : Install Go
15- uses : actions/setup-go@v3
15+ uses : actions/setup-go@v4
1616 with :
1717 # https://github.com/actions/setup-go#supported-version-syntax
1818 # ex:
1919 # - 1.18beta1 -> 1.18.0-beta.1
2020 # - 1.18rc1 -> 1.18.0-rc.1
21- go-version : 1.19
21+ go-version : ' 1.20 '
2222 - name : Unshallow
2323 run : git fetch --prune --unshallow
2424
@@ -42,13 +42,13 @@ jobs:
4242 - uses : actions/checkout@v3
4343
4444 - name : Install Go
45- uses : actions/setup-go@v3
45+ uses : actions/setup-go@v4
4646 with :
4747 # https://github.com/actions/setup-go#supported-version-syntax
4848 # ex:
4949 # - 1.18beta1 -> 1.18.0-beta.1
5050 # - 1.18rc1 -> 1.18.0-rc.1
51- go-version : 1.19
51+ go-version : ' 1.20 '
5252
5353 - name : Unshallow
5454 run : git fetch --prune --unshallow
@@ -60,18 +60,18 @@ jobs:
6060 MAJOR=${TAG%.*}
6161 SHORT_COMMIT=${GITHUB_SHA::8}
6262 DATE=$(date '+%Y-%m-%dT%H:%M:%SZ')
63- echo ::set-output name= tag_name:: ${TAG}
64- echo ::set-output name= major_tag:: ${MAJOR}
65- echo ::set-output name= short_commit:: ${SHORT_COMMIT}
66- echo ::set-output name= date:: ${DATE}
63+ echo tag_name= ${TAG} >> $GITHUB_OUTPUT
64+ echo major_tag= ${MAJOR} >> $GITHUB_OUTPUT
65+ echo short_commit= ${SHORT_COMMIT} >> $GITHUB_OUTPUT
66+ echo date= ${DATE} >> $GITHUB_OUTPUT
6767 if [[ ${{ matrix.target.Dockerfile }} == *"alpine"* ]]; then
68- echo ::set-output name= full_tag_name:: ${TAG}-alpine
69- echo ::set-output name= full_major_tag:: ${MAJOR}-alpine
70- echo ::set-output name= latest_tag:: latest-alpine
68+ echo full_tag_name= ${TAG}-alpine >> $GITHUB_OUTPUT
69+ echo full_major_tag= ${MAJOR}-alpine >> $GITHUB_OUTPUT
70+ echo latest_tag= latest-alpine >> $GITHUB_OUTPUT
7171 else
72- echo ::set-output name= full_tag_name:: ${TAG}
73- echo ::set-output name= full_major_tag:: ${MAJOR}
74- echo ::set-output name= latest_tag:: latest
72+ echo full_tag_name= ${TAG} >> $GITHUB_OUTPUT
73+ echo full_major_tag= ${MAJOR} >> $GITHUB_OUTPUT
74+ echo latest_tag= latest >> $GITHUB_OUTPUT
7575 fi
7676
7777 - name : Set up QEMU
8484 run : docker login -u golangci -p ${{ secrets.GOLANGCI_LINT_DOCKER_TOKEN }}
8585
8686 - name : Build and publish ${{ matrix.target.Dockerfile }}
87- uses : docker/build-push-action@v3
87+ uses : docker/build-push-action@v4
8888 with :
8989 context : .
9090 file : ${{ matrix.target.Dockerfile }}
0 commit comments