Changed registry to quay.io
This commit is contained in:
parent
792a8c2700
commit
29dd37cbd8
|
@ -18,11 +18,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Login to docker.io
|
- name: Login to quay.io
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
registry: quay.io
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
username: ${{ vars.QUAY_USERNAME }}
|
||||||
|
password: ${{ secrets.QUAY_SECRET }}
|
||||||
# - name: Set up QEMU
|
# - name: Set up QEMU
|
||||||
# uses: docker/setup-qemu-action@v3
|
# uses: docker/setup-qemu-action@v3
|
||||||
- name: Setup Docker buildx
|
- name: Setup Docker buildx
|
||||||
|
@ -38,7 +39,7 @@ jobs:
|
||||||
build-args: |
|
build-args: |
|
||||||
ALMALINUX_VERSION=${{ matrix.version }}
|
ALMALINUX_VERSION=${{ matrix.version }}
|
||||||
tags: |
|
tags: |
|
||||||
${{ vars.DOCKERHUB_USERNAME }}/almalinux:${{ matrix.version }}
|
quay.io/sindigilive/almalinux:${{ matrix.version }}
|
||||||
- if: ${{ matrix.flavor == 'micro' }}
|
- if: ${{ matrix.flavor == 'micro' }}
|
||||||
name: Build and push almalinux flavor
|
name: Build and push almalinux flavor
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
|
@ -50,19 +51,19 @@ jobs:
|
||||||
build-args: |
|
build-args: |
|
||||||
ALMALINUX_VERSION=${{ matrix.version }}
|
ALMALINUX_VERSION=${{ matrix.version }}
|
||||||
tags: |
|
tags: |
|
||||||
${{ vars.DOCKERHUB_USERNAME }}/almalinux:${{ matrix.version }}-${{ matrix.flavor }}
|
quay.io/sindigilive/almalinux:${{ matrix.version }}-${{ matrix.flavor }}
|
||||||
- if: ${{ matrix.flavor == 'default' }}
|
- if: ${{ matrix.flavor == 'default' }}
|
||||||
name: Scan almalinux image with Trivy
|
name: Scan almalinux image with Trivy
|
||||||
uses: aquasecurity/trivy-action@0.20.0
|
uses: aquasecurity/trivy-action@0.20.0
|
||||||
with:
|
with:
|
||||||
image-ref: '${{ vars.DOCKERHUB_USERNAME }}/almalinux:${{ matrix.version }}'
|
image-ref: 'quay.io/sindigilive/almalinux:${{ matrix.version }}'
|
||||||
format: 'sarif'
|
format: 'sarif'
|
||||||
output: 'trivy-results.sarif'
|
output: 'trivy-results.sarif'
|
||||||
- if: ${{ matrix.flavor == 'micro' }}
|
- if: ${{ matrix.flavor == 'micro' }}
|
||||||
name: Scan almalinux image with Trivy
|
name: Scan almalinux image with Trivy
|
||||||
uses: aquasecurity/trivy-action@0.20.0
|
uses: aquasecurity/trivy-action@0.20.0
|
||||||
with:
|
with:
|
||||||
image-ref: '${{ vars.DOCKERHUB_USERNAME }}/almalinux:${{ matrix.version }}-${{ matrix.flavor }}'
|
image-ref: 'quay.io/sindigilive/almalinux:${{ matrix.version }}-${{ matrix.flavor }}'
|
||||||
format: 'sarif'
|
format: 'sarif'
|
||||||
output: 'trivy-results.sarif'
|
output: 'trivy-results.sarif'
|
||||||
build-latest:
|
build-latest:
|
||||||
|
@ -75,11 +76,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Login to docker.io
|
- name: Login to quay.io
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
registry: quay.io
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
username: ${{ vars.QUAY_USERNAME }}
|
||||||
|
password: ${{ secrets.QUAY_SECRET }}
|
||||||
# - name: Set up QEMU
|
# - name: Set up QEMU
|
||||||
# uses: docker/setup-qemu-action@v3
|
# uses: docker/setup-qemu-action@v3
|
||||||
- name: Setup Docker buildx
|
- name: Setup Docker buildx
|
||||||
|
@ -92,7 +94,7 @@ jobs:
|
||||||
context: .
|
context: .
|
||||||
file: ./8/Dockerfile.micro
|
file: ./8/Dockerfile.micro
|
||||||
tags: |
|
tags: |
|
||||||
${{ vars.DOCKERHUB_USERNAME }}/almalinux:8-micro
|
quay.io/sindigilive/almalinux:8-micro
|
||||||
- name: Build and push latest almalinux9
|
- name: Build and push latest almalinux9
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
|
@ -101,4 +103,4 @@ jobs:
|
||||||
context: .
|
context: .
|
||||||
file: ./8/Dockerfile.default
|
file: ./8/Dockerfile.default
|
||||||
tags: |
|
tags: |
|
||||||
${{ vars.DOCKERHUB_USERNAME }}/almalinux:8
|
quay.io/sindigilive/almalinux:8
|
||||||
|
|
|
@ -21,8 +21,9 @@ jobs:
|
||||||
- name: Login to docker.io
|
- name: Login to docker.io
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
registry: quay.io
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
username: ${{ vars.QUAY_USERNAME }}
|
||||||
|
password: ${{ secrets.QUAY_SECRET }}
|
||||||
# - name: Set up QEMU
|
# - name: Set up QEMU
|
||||||
# uses: docker/setup-qemu-action@v3
|
# uses: docker/setup-qemu-action@v3
|
||||||
- name: Setup Docker buildx
|
- name: Setup Docker buildx
|
||||||
|
@ -38,7 +39,7 @@ jobs:
|
||||||
build-args: |
|
build-args: |
|
||||||
ALMALINUX_VERSION=${{ matrix.version }}
|
ALMALINUX_VERSION=${{ matrix.version }}
|
||||||
tags: |
|
tags: |
|
||||||
${{ vars.DOCKERHUB_USERNAME }}/almalinux:${{ matrix.version }}
|
quay.io/sindigilive/almalinux:${{ matrix.version }}
|
||||||
- if: ${{ matrix.flavor == 'micro' }}
|
- if: ${{ matrix.flavor == 'micro' }}
|
||||||
name: Build and push almalinux
|
name: Build and push almalinux
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
|
@ -50,19 +51,19 @@ jobs:
|
||||||
build-args: |
|
build-args: |
|
||||||
ALMALINUX_VERSION=${{ matrix.version }}
|
ALMALINUX_VERSION=${{ matrix.version }}
|
||||||
tags: |
|
tags: |
|
||||||
${{ vars.DOCKERHUB_USERNAME }}/almalinux:${{ matrix.version }}-${{ matrix.flavor }}
|
quay.io/sindigilive/almalinux:${{ matrix.version }}-${{ matrix.flavor }}
|
||||||
- if: ${{ matrix.flavor == 'default' }}
|
- if: ${{ matrix.flavor == 'default' }}
|
||||||
name: Scan almalinux9 image with Trivy
|
name: Scan almalinux9 image with Trivy
|
||||||
uses: aquasecurity/trivy-action@0.20.0
|
uses: aquasecurity/trivy-action@0.20.0
|
||||||
with:
|
with:
|
||||||
image-ref: '${{ vars.DOCKERHUB_USERNAME }}/almalinux:${{ matrix.version }}'
|
image-ref: 'quay.io/sindigilive/almalinux:${{ matrix.version }}'
|
||||||
format: 'sarif'
|
format: 'sarif'
|
||||||
output: 'trivy-results.sarif'
|
output: 'trivy-results.sarif'
|
||||||
- if: ${{ matrix.flavor == 'micro' }}
|
- if: ${{ matrix.flavor == 'micro' }}
|
||||||
name: Scan almalinux9 image with Trivy
|
name: Scan almalinux9 image with Trivy
|
||||||
uses: aquasecurity/trivy-action@0.20.0
|
uses: aquasecurity/trivy-action@0.20.0
|
||||||
with:
|
with:
|
||||||
image-ref: '${{ vars.DOCKERHUB_USERNAME }}/almalinux:${{ matrix.version }}-${{ matrix.flavor }}'
|
image-ref: 'quay.io/sindigilive/almalinux:${{ matrix.version }}-${{ matrix.flavor }}'
|
||||||
format: 'sarif'
|
format: 'sarif'
|
||||||
output: 'trivy-results.sarif'
|
output: 'trivy-results.sarif'
|
||||||
build-latest:
|
build-latest:
|
||||||
|
@ -78,8 +79,9 @@ jobs:
|
||||||
- name: Login to docker.io
|
- name: Login to docker.io
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
registry: quay.io
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
username: ${{ vars.QUAY_USERNAME }}
|
||||||
|
password: ${{ secrets.QUAY_SECRET }}
|
||||||
# - name: Set up QEMU
|
# - name: Set up QEMU
|
||||||
# uses: docker/setup-qemu-action@v3
|
# uses: docker/setup-qemu-action@v3
|
||||||
- name: Setup Docker buildx
|
- name: Setup Docker buildx
|
||||||
|
@ -92,8 +94,8 @@ jobs:
|
||||||
context: .
|
context: .
|
||||||
file: ./9/Dockerfile.micro
|
file: ./9/Dockerfile.micro
|
||||||
tags: |
|
tags: |
|
||||||
${{ vars.DOCKERHUB_USERNAME }}/almalinux:9-micro
|
quay.io/sindigilive/almalinux:9-micro
|
||||||
${{ vars.DOCKERHUB_USERNAME }}/almalinux:micro
|
quay.io/sindigilive/almalinux:micro
|
||||||
- name: Build and push latest almalinux9
|
- name: Build and push latest almalinux9
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
|
@ -102,5 +104,5 @@ jobs:
|
||||||
context: .
|
context: .
|
||||||
file: ./9/Dockerfile.default
|
file: ./9/Dockerfile.default
|
||||||
tags: |
|
tags: |
|
||||||
${{ vars.DOCKERHUB_USERNAME }}/almalinux:9
|
quay.io/sindigilive/almalinux:9
|
||||||
${{ vars.DOCKERHUB_USERNAME }}/almalinux:latest
|
quay.io/sindigilive/almalinux:latest
|
||||||
|
|
Loading…
Reference in New Issue