Skip to content

Commit 47ee993

Browse files
committed
push bird 2.16 and 3.0.0
1 parent bc6b774 commit 47ee993

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

.github/workflows/docker.yml

+13-7
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ name: Create and publish a Docker image
22
on:
33
push:
44
branches: [ "main" ]
5-
workflow_run:
6-
workflows: [ "Rust" ]
7-
types:
8-
- completed
95

106
env:
117
REGISTRY: ghcr.io
@@ -20,6 +16,16 @@ jobs:
2016
include:
2117
- dockerfile: ./bird/Dockerfile
2218
image: ghcr.io/nxthdr/bird
19+
tags: |
20+
ghcr.io/nxthdr/bird:2.16
21+
build-args: |
22+
BIRD_VERSION=2.16
23+
- dockerfile: ./bird/Dockerfile
24+
image: ghcr.io/nxthdr/bird
25+
tags: |
26+
ghcr.io/nxthdr/bird:3.0.0
27+
build-args: |
28+
BIRD_VERSION=3.0.0
2329
permissions:
2430
contents: read
2531
packages: write
@@ -43,7 +49,7 @@ jobs:
4349
with:
4450
images: ${{ matrix.image }}
4551

46-
- name: Sync theme submodule
52+
- name: Sync theme submodule
4753
run: git submodule sync && git submodule update --init --recursive
4854

4955
- name: Build and push Docker image
@@ -52,9 +58,9 @@ jobs:
5258
with:
5359
context: .
5460
file: ${{ matrix.dockerfile }}
61+
build-args: ${{ matrix.build-args }}
62+
tags: ${{ matrix.tags }}
5563
push: true
56-
tags: ${{ steps.meta.outputs.tags }}
57-
labels: ${{ steps.meta.outputs.labels }}
5864

5965
- name: Generate artifact attestation
6066
uses: actions/attest-build-provenance@v2

bird/Dockerfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
FROM ubuntu:24.04 AS builder
22

3-
ARG BIRD_VERION=2.15.1
3+
ARG BIRD_VERSION=2.15.1
44
ARG BIRD_PROTOCOLS=bmp,bgp,rpki,static
55

6-
RUN apt update -y && \
6+
RUN apt update -y && \
77
apt install -y --no-install-recommends --no-install-suggests \
88
bison \
99
ca-certificates \
@@ -17,10 +17,10 @@ RUN apt update -y && \
1717
make \
1818
&& rm -rf /var/lib/apt/lists/*
1919

20-
RUN curl -o /tmp/bird-${BIRD_VERION}.tar.gz https://bird.network.cz/download/bird-${BIRD_VERION}.tar.gz
21-
RUN tar xvzf /tmp/bird-${BIRD_VERION}.tar.gz -C /tmp
20+
RUN curl -o /tmp/bird-${BIRD_VERSION}.tar.gz https://bird.network.cz/download/bird-${BIRD_VERSION}.tar.gz
21+
RUN tar xvzf /tmp/bird-${BIRD_VERSION}.tar.gz -C /tmp
2222

23-
RUN cd /tmp/bird-${BIRD_VERION} \
23+
RUN cd /tmp/bird-${BIRD_VERSION} \
2424
&& ./configure \
2525
--prefix=/usr/ \
2626
--sysconfdir=/etc/bird/ \

0 commit comments

Comments
 (0)