File tree 2 files changed +18
-12
lines changed
2 files changed +18
-12
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,6 @@ name: Create and publish a Docker image
2
2
on :
3
3
push :
4
4
branches : [ "main" ]
5
- workflow_run :
6
- workflows : [ "Rust" ]
7
- types :
8
- - completed
9
5
10
6
env :
11
7
REGISTRY : ghcr.io
20
16
include :
21
17
- dockerfile : ./bird/Dockerfile
22
18
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
23
29
permissions :
24
30
contents : read
25
31
packages : write
43
49
with :
44
50
images : ${{ matrix.image }}
45
51
46
- - name : Sync theme submodule
52
+ - name : Sync theme submodule
47
53
run : git submodule sync && git submodule update --init --recursive
48
54
49
55
- name : Build and push Docker image
52
58
with :
53
59
context : .
54
60
file : ${{ matrix.dockerfile }}
61
+ build-args : ${{ matrix.build-args }}
62
+ tags : ${{ matrix.tags }}
55
63
push : true
56
- tags : ${{ steps.meta.outputs.tags }}
57
- labels : ${{ steps.meta.outputs.labels }}
58
64
59
65
- name : Generate artifact attestation
60
66
uses : actions/attest-build-provenance@v2
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:24.04 AS builder
2
2
3
- ARG BIRD_VERION =2.15.1
3
+ ARG BIRD_VERSION =2.15.1
4
4
ARG BIRD_PROTOCOLS=bmp,bgp,rpki,static
5
5
6
- RUN apt update -y && \
6
+ RUN apt update -y && \
7
7
apt install -y --no-install-recommends --no-install-suggests \
8
8
bison \
9
9
ca-certificates \
@@ -17,10 +17,10 @@ RUN apt update -y && \
17
17
make \
18
18
&& rm -rf /var/lib/apt/lists/*
19
19
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
22
22
23
- RUN cd /tmp/bird-${BIRD_VERION } \
23
+ RUN cd /tmp/bird-${BIRD_VERSION } \
24
24
&& ./configure \
25
25
--prefix=/usr/ \
26
26
--sysconfdir=/etc/bird/ \
You can’t perform that action at this time.
0 commit comments