mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 11:25:41 +00:00
Merge pull request #12629 from opensourcerouting/fix/use_static_repo
github: Use static quay.io repository for docker images
This commit is contained in:
commit
1ab8721a5c
2
.github/workflows/docker-daily-master.yml
vendored
2
.github/workflows/docker-daily-master.yml
vendored
@ -48,6 +48,6 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: ./docker/alpine/Dockerfile
|
file: ./docker/alpine/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ secrets.QUAY_USERNAME }}/frr:master
|
tags: quay.io/frrouting/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
|
||||||
|
54
.github/workflows/docker-stable.yml
vendored
54
.github/workflows/docker-stable.yml
vendored
@ -1,54 +0,0 @@
|
|||||||
name: Build stable branch images for Docker
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- 'stable/**'
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: ${{ github.ref }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
docker_daily_master:
|
|
||||||
if: github.repository == 'frrouting/frr'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
steps:
|
|
||||||
- name: Custom variables
|
|
||||||
id: vars
|
|
||||||
run: |
|
|
||||||
# To package a specific git commit, the date of the commit gets
|
|
||||||
# appended to the latest release, e.g. 1.0.0_git20180204.
|
|
||||||
# This is the requirement by APKBUILD (abuild).
|
|
||||||
# More details: https://wiki.alpinelinux.org/wiki/APKBUILD_Reference.
|
|
||||||
echo ::set-output name=date::$(date +'%Y%m%d')
|
|
||||||
# Get the real version specified in configure.ac file.
|
|
||||||
echo ::set-output name=frr_version::$(grep AC_INIT configure.ac | cut -d '[' -f3 | cut -d ']' -f 1)
|
|
||||||
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v2
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v2
|
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
|
||||||
uses: docker/login-action@v2
|
|
||||||
with:
|
|
||||||
registry: quay.io
|
|
||||||
username: ${{ secrets.QUAY_USERNAME }}
|
|
||||||
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
|
|
||||||
|
|
||||||
- name: Build and push
|
|
||||||
uses: docker/build-push-action@v3
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
file: ./docker/alpine/Dockerfile
|
|
||||||
push: true
|
|
||||||
tags: ${{ secrets.QUAY_USERNAME }}/frr:v${{ steps.vars.outputs.frr_version }}
|
|
||||||
build-args: PKGVER=${{ steps.vars.outputs.date }}
|
|
||||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
|
Loading…
Reference in New Issue
Block a user