Skip to content

Commit

Permalink
fix: update actions in workflows (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekzyla authored Apr 4, 2024
1 parent d4b550d commit b5b9c0c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:

#Build docker images
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3.2.0
- name: Login to GitHub Packages Docker Registry
uses: docker/login-action@v3.0.0
with:
Expand All @@ -55,7 +55,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta - frontend
id: docker_meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5.5.1
with:
images: ghcr.io/splunk/sc4snmp-ui/frontend/container
tags: |
Expand All @@ -76,7 +76,7 @@ jobs:
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
cache-to: type=inline
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4.0.2
with:
node-version: "20.12.0"

Expand All @@ -94,9 +94,9 @@ jobs:

#Build docker images
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3.2.0
- name: Login to GitHub Packages Docker Registry
uses: docker/login-action@v3.0.0
with:
Expand All @@ -105,7 +105,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta - backend
id: docker_meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5.5.1
with:
images: ghcr.io/splunk/sc4snmp-ui/backend/container
tags: |
Expand All @@ -126,6 +126,6 @@ jobs:
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
cache-to: type=inline
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4.0.2
with:
node-version: "20.12.0"
2 changes: 1 addition & 1 deletion .github/workflows/ci-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4.0.2
with:
node-version: ${{ matrix.node-version }}
- name: Run install
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/ci-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:

#Build docker images
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3.2.0
- name: Login to GitHub Packages Docker Registry
uses: docker/login-action@v3.0.0
with:
Expand All @@ -50,7 +50,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta - frontend
id: docker_meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5.5.1
with:
images: ghcr.io/splunk/sc4snmp-ui/frontend/container
tags: |
Expand All @@ -71,7 +71,7 @@ jobs:
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
cache-to: type=inline
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4.0.2
with:
node-version: "20.12.0"

Expand All @@ -89,9 +89,9 @@ jobs:

#Build docker images
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3.2.0
- name: Login to GitHub Packages Docker Registry
uses: docker/login-action@v3.0.0
with:
Expand All @@ -100,7 +100,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta - backend
id: docker_meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5.5.1
with:
images: ghcr.io/splunk/sc4snmp-ui/backend/container
tags: |
Expand All @@ -121,7 +121,7 @@ jobs:
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
cache-to: type=inline
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4.0.2
with:
node-version: "20.12.0"
release:
Expand All @@ -132,11 +132,11 @@ jobs:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: false
persist-credentials: false
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4.0.2
with:
node-version: "20.12.0"
- name: Semantic Release
Expand Down

0 comments on commit b5b9c0c

Please sign in to comment.