mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 01:47:29 +00:00
github: Use quay.io as docker registry for github action generated images
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
61615e4dfd
commit
ed3a0c3bfb
7
.github/workflows/docker-daily-master.yml
vendored
7
.github/workflows/docker-daily-master.yml
vendored
@ -38,8 +38,9 @@ jobs:
|
|||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
registry: quay.io
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
username: ${{ secrets.QUAY_USERNAME }}
|
||||||
|
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
@ -47,6 +48,6 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: ./docker/alpine/Dockerfile
|
file: ./docker/alpine/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ secrets.DOCKERHUB_USERNAME }}/frr:master
|
tags: ${{ secrets.QUAY_USERNAME }}/frr:master
|
||||||
build-args: PKGVER=${{ steps.vars.outputs.date }}
|
build-args: PKGVER=${{ steps.vars.outputs.date }}
|
||||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
|
7
.github/workflows/docker-stable.yml
vendored
7
.github/workflows/docker-stable.yml
vendored
@ -39,8 +39,9 @@ jobs:
|
|||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
registry: quay.io
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
username: ${{ secrets.QUAY_USERNAME }}
|
||||||
|
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
@ -48,6 +49,6 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: ./docker/alpine/Dockerfile
|
file: ./docker/alpine/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ secrets.DOCKERHUB_USERNAME }}/frr:v${{ steps.vars.outputs.frr_version }}
|
tags: ${{ secrets.QUAY_USERNAME }}/frr:v${{ steps.vars.outputs.frr_version }}
|
||||||
build-args: PKGVER=${{ steps.vars.outputs.date }}
|
build-args: PKGVER=${{ steps.vars.outputs.date }}
|
||||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
|
Loading…
Reference in New Issue
Block a user