Skip to content

Commit 752f490

Browse files
update deps and actions (#428)
1 parent e90ac4c commit 752f490

File tree

3 files changed

+2473
-2206
lines changed

3 files changed

+2473
-2206
lines changed

.github/workflows/melinda-node-tests.yml

Lines changed: 2 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
license-scan:
3333
name: License compliance check
3434
runs-on: ubuntu-latest
35+
container: docker://node:18
3536

3637
steps:
3738
- uses: actions/checkout@v4
@@ -42,6 +43,7 @@ jobs:
4243
njsscan:
4344
name: Njsscan check
4445
runs-on: ubuntu-latest
46+
container: docker://node:18
4547

4648
steps:
4749
- name: Checkout the code
@@ -52,39 +54,6 @@ jobs:
5254
with:
5355
args: '.'
5456

55-
quayio:
56-
name: Quay.io image builder & publisher
57-
needs: [build-node-versions, njsscan]
58-
runs-on: ubuntu-latest
59-
if: github.actor!= 'dependabot[bot]' # ignore the pull request which comes from user dependabot, because it does not access to secrets
60-
61-
steps:
62-
- uses: actions/checkout@v4
63-
- name: Docker meta
64-
id: meta
65-
uses: docker/metadata-action@v5
66-
with:
67-
images: quay.io/${{ github.repository }}
68-
tags: |
69-
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
70-
type=ref,event=branch
71-
type=ref,event=pr
72-
type=semver,pattern={{version}}
73-
type=semver,pattern={{major}}.{{minor}}
74-
type=semver,pattern={{major}}
75-
- name: Login to Quay.io
76-
uses: docker/login-action@v3
77-
with:
78-
registry: quay.io
79-
username: ${{ secrets.MELINDA_QUAY_IO_USERNAME }}
80-
password: ${{ secrets.MELINDA_QUAY_IO_PASSWORD }}
81-
- name: Build and publish image to Quay.io
82-
uses: docker/build-push-action@v5
83-
with:
84-
context: .
85-
push: true
86-
tags: ${{ steps.meta.outputs.tags }}
87-
8857
openshift-webhook:
8958
name: OpenShift webhook for image builder
9059
needs: [build-node-versions, njsscan]

0 commit comments

Comments
 (0)