Add cxx-amd64-fedora-41
Some checks failed
on-push / infra/buildenv/node (push) Successful in 1m3s
on-push / infra/buildenv/cxx-amd64-fedora-40 (push) Successful in 15m0s
on-push / infra/buildenv/cxx-amd64-fedora-41 (push) Successful in 15m5s
on-push / infra/buildenv/cxx-amd64-alpine-3.20 (push) Failing after 36s
Some checks failed
on-push / infra/buildenv/node (push) Successful in 1m3s
on-push / infra/buildenv/cxx-amd64-fedora-40 (push) Successful in 15m0s
on-push / infra/buildenv/cxx-amd64-fedora-41 (push) Successful in 15m5s
on-push / infra/buildenv/cxx-amd64-alpine-3.20 (push) Failing after 36s
This commit is contained in:
parent
f44487ba22
commit
c80d25474c
@ -18,6 +18,22 @@ jobs:
|
|||||||
run: docker tag code.helloryan.se/infra/buildenv/cxx-amd64-fedora-40:${{ gitea.sha }} code.helloryan.se/infra/buildenv/cxx-amd64-fedora-40:latest
|
run: docker tag code.helloryan.se/infra/buildenv/cxx-amd64-fedora-40:${{ gitea.sha }} code.helloryan.se/infra/buildenv/cxx-amd64-fedora-40:latest
|
||||||
- name: Push
|
- name: Push
|
||||||
run: docker push code.helloryan.se/infra/buildenv/cxx-amd64-fedora-40:latest
|
run: docker push code.helloryan.se/infra/buildenv/cxx-amd64-fedora-40:latest
|
||||||
|
infra/buildenv/cxx-amd64-fedora-41:
|
||||||
|
runs-on: linux
|
||||||
|
container: code.helloryan.se/infra/misc/docker:latest
|
||||||
|
steps:
|
||||||
|
- name: Clone repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Login
|
||||||
|
run: echo ${{ secrets.INFRA_ACCESS_TOKEN }} | docker login -u ${{ gitea.actor }} --password-stdin code.helloryan.se
|
||||||
|
- name: Build
|
||||||
|
run: docker buildx build -t code.helloryan.se/infra/buildenv/cxx-amd64-fedora-41:${{ gitea.sha }} cxx-amd64-fedora-41
|
||||||
|
- name: Test
|
||||||
|
run: docker run --rm code.helloryan.se/infra/buildenv/cxx-amd64-fedora-41:${{ gitea.sha }} g++ --version
|
||||||
|
- name: Tag
|
||||||
|
run: docker tag code.helloryan.se/infra/buildenv/cxx-amd64-fedora-41:${{ gitea.sha }} code.helloryan.se/infra/buildenv/cxx-amd64-fedora-41:latest
|
||||||
|
- name: Push
|
||||||
|
run: docker push code.helloryan.se/infra/buildenv/cxx-amd64-fedora-41:latest
|
||||||
infra/buildenv/cxx-amd64-alpine-3.20:
|
infra/buildenv/cxx-amd64-alpine-3.20:
|
||||||
runs-on: linux
|
runs-on: linux
|
||||||
container: code.helloryan.se/infra/misc/docker:latest
|
container: code.helloryan.se/infra/misc/docker:latest
|
||||||
|
15
cxx-amd64-fedora-41/Dockerfile
Normal file
15
cxx-amd64-fedora-41/Dockerfile
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
FROM fedora:40
|
||||||
|
|
||||||
|
RUN true \
|
||||||
|
&& dnf -y update \
|
||||||
|
&& dnf -y install wget curl g++ gcc-plugin-devel openssl git make nodejs xxd \
|
||||||
|
&& dnf -y install glibc-static libstdc++-static \
|
||||||
|
&& dnf clean all
|
||||||
|
|
||||||
|
RUN true \
|
||||||
|
&& mkdir ~/build2-build \
|
||||||
|
&& cd ~/build2-build \
|
||||||
|
&& curl -sSfO https://download.build2.org/0.17.0/build2-install-0.17.0.sh \
|
||||||
|
&& sh build2-install-0.17.0.sh --yes --trust yes \
|
||||||
|
&& cd / \
|
||||||
|
&& rm -rf ~/build2-build
|
Loading…
x
Reference in New Issue
Block a user