Skip to content

Commit 9e0c921

Browse files
authored
GitHub actions upgrade (#110)
1 parent f2cd74a commit 9e0c921

File tree

3 files changed

+10
-13
lines changed

3 files changed

+10
-13
lines changed

.github/workflows/release-image.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,14 @@ jobs:
99
release:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v1
13-
14-
- name: Get release version
15-
id: get_version
16-
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
12+
- uses: actions/checkout@v2
1713

1814
- name: Publish to Registry
15+
pre: echo ::save-state name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
1916
uses: elgohr/Publish-Docker-Github-Action@master
2017
with:
2118
name: pepakriz/gitlab-merger-bot
2219
username: ${{ secrets.DOCKER_USERNAME }}
2320
password: ${{ secrets.DOCKER_PASSWORD }}
2421
tag_semver: true
25-
tags: "latest,${{ env.RELEASE_VERSION }}"
22+
tags: "latest,${{ env.STATE_RELEASE_VERSION }}"

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
release:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v1
14+
- uses: actions/checkout@v2
1515

1616
- name: Configure Git
1717
run: |
1818
git config user.name "$GITHUB_ACTOR"
1919
git config user.email "[email protected]"
2020
2121
- name: Run chart-releaser
22-
uses: helm/chart-releaser-action@v1.0.0-rc.1
22+
uses: helm/chart-releaser-action@v1.2.0
2323
env:
2424
CR_TOKEN: "${{ secrets.CR_TOKEN }}"
2525

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
node-version: [12.x]
1111

1212
steps:
13-
- uses: actions/checkout@v1
13+
- uses: actions/checkout@v2
1414
- name: Use Node.js ${{ matrix.node-version }}
15-
uses: actions/setup-node@v1
15+
uses: actions/setup-node@v2
1616
with:
1717
node-version: ${{ matrix.node-version }}
1818

@@ -33,18 +33,18 @@ jobs:
3333

3434
- name: Check Helm Chart
3535
id: lint
36-
uses: helm/chart-testing-action@v1.0.0-rc.1
36+
uses: helm/chart-testing-action@v2.0.1
3737
with:
3838
command: lint
3939

4040
- name: Create kind cluster
41-
uses: helm/kind-action@v1.0.0-alpha.3
41+
uses: helm/kind-action@v1.1.0
4242
with:
4343
install_local_path_provisioner: true
4444
# Only build a kind cluster if there are chart changes to test.
4545
if: steps.lint.outputs.changed == 'true'
4646

4747
- name: Check Helm Install
48-
uses: helm/chart-testing-action@v1.0.0-rc.1
48+
uses: helm/chart-testing-action@v2.0.1
4949
with:
5050
command: install

0 commit comments

Comments
 (0)