Skip to content
This repository was archived by the owner on Aug 11, 2025. It is now read-only.

Commit 22490ff

Browse files
authored
Bump actions (#37)
* Update build.yml * Update deploy_gcp.yml
1 parent 19dc6b4 commit 22490ff

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
env:
1414
DOCKER_IMAGE: ghcr.io/${{ github.repository }}/${{ github.event.repository.name }}
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
1717
- name: Login to GitHub Docker Registry
18-
uses: docker/login-action@v1
18+
uses: docker/login-action@v2
1919
with:
2020
registry: ghcr.io
2121
username: ${{ github.actor }}
@@ -29,13 +29,12 @@ jobs:
2929
- name: Build docker image
3030
run: docker build -t ${{ env.DOCKER_TAG }} .
3131
- name: Create tag and release
32-
uses: actions/create-release@v1
32+
uses: ncipollo/release-action@v1
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3535
with:
36-
tag_name: ${{ steps.artifact-version.outputs.version }}
37-
release_name: ${{ steps.artifact-version.outputs.version }}
38-
commitish: ${{ github.sha }}
36+
tag: ${{ steps.artifact-version.outputs.version }}
37+
commit: ${{ github.sha }}
3938
- name: Push docker image
4039
run: |
4140
docker push ${{ env.DOCKER_TAG }}

.github/workflows/deploy_gcp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: Deploy to GCP
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v3
2020
- name: Create artifact version
2121
id: artifact-version
2222
uses: navikt/sosialhjelp-ci/actions/create-artifact-version@master

0 commit comments

Comments
 (0)