@@ -10,11 +10,11 @@ jobs:
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- name : Checkout
13
- uses : actions/checkout@v1
13
+ uses : actions/checkout@v3
14
14
with :
15
15
fetch-depth : 0
16
16
- name : Set up Go
17
- uses : actions/setup-go@v3
17
+ uses : actions/setup-go@v4
18
18
with :
19
19
go-version-file : " go.mod"
20
20
25
25
if [[ $GITHUB_REF == refs/tags/* ]]; then
26
26
echo IMAGE_TAG="${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
27
27
fi
28
-
28
+
29
+ # TODO dtfranz
30
+ # This action uses node12 and the source repo is archived;
31
+ # we should remove it or find a suitable replacement before it becomes a blocker.
29
32
- name : Create a draft release
30
33
uses : actions/create-release@v1
31
34
id : release
@@ -42,15 +45,15 @@ jobs:
42
45
if : startsWith(github.ref, 'refs/tags')
43
46
44
47
- name : Docker Login
45
- uses : docker/login-action@v1
48
+ uses : docker/login-action@v2
46
49
if : startsWith(github.ref, 'refs/tags')
47
50
with :
48
51
registry : quay.io
49
52
username : ${{ secrets.QUAY_USERNAME }}
50
53
password : ${{ secrets.QUAY_PASSWORD }}
51
54
52
55
- name : Run GoReleaser
53
- uses : goreleaser/goreleaser-action@v2
56
+ uses : goreleaser/goreleaser-action@v4
54
57
if : startsWith(github.ref, 'refs/tags')
55
58
with :
56
59
version : 0.177.0
62
65
63
66
- name : Generate quickstart release manifests
64
67
if : startsWith(github.ref, 'refs/tags')
65
- run : make release ver=${{ env.IMAGE_TAG }} IMAGE_REPO=quay.io/operator-framework/olm
68
+ run : |
69
+ echo ver=${{ env.IMAGE_TAG }} >> $GITHUB_ENV
70
+ echo IMAGE_REPO=quay.io/operator-framework/olm >> $GITHUB_ENV
71
+ make release
66
72
67
73
- name : Update release artifacts with rendered Kubernetes release manifests
68
74
uses : softprops/action-gh-release@v1
0 commit comments