buildenv/.gitea/workflows/on-push.yaml
G.H.O.S.T c80d25474c
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
Add cxx-amd64-fedora-41
2024-12-20 06:15:35 +01:00

69 lines
3.4 KiB
YAML

name: on-push
on: [push]
jobs:
infra/buildenv/cxx-amd64-fedora-40:
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-40:${{ gitea.sha }} cxx-amd64-fedora-40
- name: Test
run: docker run --rm code.helloryan.se/infra/buildenv/cxx-amd64-fedora-40:${{ gitea.sha }} g++ --version
- name: Tag
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
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:
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-alpine-3.20:${{ gitea.sha }} cxx-amd64-alpine-3.20
- name: Test
run: docker run --rm code.helloryan.se/infra/buildenv/cxx-amd64-alpine-3.20:${{ gitea.sha }} g++ --version
- name: Tag
run: docker tag code.helloryan.se/infra/buildenv/cxx-amd64-alpine-3.20:${{ gitea.sha }} code.helloryan.se/infra/buildenv/cxx-amd64-alpine-3.20:latest
- name: Push
run: docker push code.helloryan.se/infra/buildenv/cxx-amd64-alpine-3.20:latest
infra/buildenv/node:
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/node:${{ gitea.sha }} node
- name: Test
run: docker run --rm code.helloryan.se/infra/buildenv/node:${{ gitea.sha }} node --version
- name: Tag
run: docker tag code.helloryan.se/infra/buildenv/node:${{ gitea.sha }} code.helloryan.se/infra/buildenv/node:latest
- name: Push
run: docker push code.helloryan.se/infra/buildenv/node:latest