|
32 | 32 | license-scan:
|
33 | 33 | name: License compliance check
|
34 | 34 | runs-on: ubuntu-latest
|
| 35 | + container: docker://node:18 |
35 | 36 |
|
36 | 37 | steps:
|
37 | 38 | - uses: actions/checkout@v4
|
|
42 | 43 | njsscan:
|
43 | 44 | name: Njsscan check
|
44 | 45 | runs-on: ubuntu-latest
|
| 46 | + container: docker://node:18 |
45 | 47 |
|
46 | 48 | steps:
|
47 | 49 | - name: Checkout the code
|
|
52 | 54 | with:
|
53 | 55 | args: '.'
|
54 | 56 |
|
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 |
| - |
88 | 57 | openshift-webhook:
|
89 | 58 | name: OpenShift webhook for image builder
|
90 | 59 | needs: [build-node-versions, njsscan]
|
|
0 commit comments