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/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