2024-05-26 09:06:01 +02:00
|
|
|
name: on-push
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
2024-05-26 09:50:52 +02:00
|
|
|
infra/buildenv/cxx-amd64-fedora-40:
|
2024-05-26 09:06:01 +02:00
|
|
|
runs-on: linux
|
2024-05-26 09:50:52 +02:00
|
|
|
container: code.helloryan.se/infra/misc/docker:latest
|
2024-05-26 09:06:01 +02:00
|
|
|
steps:
|
2024-05-26 09:50:52 +02:00
|
|
|
- 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
|
2024-05-26 09:06:01 +02:00
|
|
|
- name: Test
|
2024-05-26 09:50:52 +02:00
|
|
|
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
|
2024-12-20 06:15:35 +01:00
|
|
|
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
|
2024-10-14 14:35:59 +02:00
|
|
|
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
|
2024-05-26 10:15:27 +02:00
|
|
|
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
|
2024-05-26 10:16:17 +02:00
|
|
|
run: docker run --rm code.helloryan.se/infra/buildenv/node:${{ gitea.sha }} node --version
|
2024-05-26 10:15:27 +02:00
|
|
|
- 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
|