Skip to content

Commit

Permalink
feat: update to 2.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
akafeng committed Dec 19, 2022
1 parent 21fc15b commit 157336d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 25 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,24 @@ on:

env:
REPOSITORY: bird
PACKAGE_REGISTRY: ghcr.io

jobs:
build:
name: Build Testing
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Build and cache
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
target: builder
platforms: |
linux/386
linux/amd64
linux/arm/v5
linux/arm/v7
linux/arm64/v8
linux/mips64le
linux/ppc64le
linux/s390x
cache-to: type=gha, mode=max
cache-to: type=gha, scope=${{ env.REPOSITORY }}, mode=max
outputs: type=cacheonly
18 changes: 6 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Docker login
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ${{ env.PACKAGE_REGISTRY }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Docker meta
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
images: ${{ env.PACKAGE_REGISTRY }}/${{ github.repository_owner }}/${{ env.REPOSITORY }}
tags: |
Expand All @@ -38,18 +38,12 @@ jobs:
type=semver,pattern={{version}}
- name: Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
push: true
platforms: |
linux/386
linux/amd64
linux/arm/v5
linux/arm/v7
linux/arm64/v8
linux/mips64le
linux/ppc64le
linux/s390x
cache-from: type=gha
cache-from: type=gha, scope=${{ env.REPOSITORY }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM debian:bullseye-slim AS builder

ARG BIRD_VERSION="2.0.9"
ARG BIRD_VERSION="2.0.11"
ARG BIRD_URL="https://bird.network.cz/download/bird-${BIRD_VERSION}.tar.gz"

RUN set -eux \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</p>

<p align="center">
<img src="https://img.shields.io/github/workflow/status/akafeng/docker-bird/Docker%20Build" />
<img src="https://img.shields.io/github/actions/workflow/status/akafeng/docker-bird/push.yml?branch=main" />
<img src="https://img.shields.io/github/last-commit/akafeng/docker-bird" />
<img src="https://img.shields.io/github/v/release/akafeng/docker-bird" />
<img src="https://img.shields.io/github/release-date/akafeng/docker-bird" />
Expand Down

0 comments on commit 157336d

Please sign in to comment.