summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2023-01-11 21:50:22 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2023-01-11 21:50:22 +0200
commit4179369cd0fb21f151a5f508125037a8e0e11721 (patch)
treeb32deb177649c1005473c4d36cc0ad9150beccf0 /.github
parentbe402a42e0b99cc2f52baef8633935c044224c91 (diff)
github: Drop temporary docker-stable github action
Until we have a consensus how we ship stable/X.Y docker images. For now we build images based on release tags, not based on HEAD of the branch. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/docker-stable.yml54
1 files changed, 0 insertions, 54 deletions
diff --git a/.github/workflows/docker-stable.yml b/.github/workflows/docker-stable.yml
deleted file mode 100644
index a0f062cd03..0000000000
--- a/.github/workflows/docker-stable.yml
+++ /dev/null
@@ -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: quay.io/frrouting/frr:${{ steps.vars.outputs.frr_version }}
- build-args: PKGVER=${{ steps.vars.outputs.date }}
- platforms: linux/amd64,linux/arm64,linux/arm/v7