2024-10-01 20:57:01 +00:00
|
|
|
name: Cloud Apache Container
|
|
|
|
run-name: ${{ gitea.actor }} pushed a change to trunk
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2024-10-01 21:00:12 +00:00
|
|
|
- trunk
|
2024-10-01 20:57:01 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
Build-and-Push:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Set up QEMU
|
|
|
|
uses: docker/setup-qemu-action@v3
|
|
|
|
|
|
|
|
- name: Set up Docker Buildx
|
|
|
|
uses: https://github.com/docker/setup-buildx-action@v3
|
|
|
|
|
|
|
|
- name: Login to Gitea
|
|
|
|
uses: docker/login-action@v3
|
|
|
|
with:
|
|
|
|
registry: repo.anhonesthost.net
|
|
|
|
username: ${{ secrets.CI_USER }}
|
|
|
|
password: ${{ secrets.CI_TOKEN }}
|
|
|
|
|
|
|
|
- name: Build Image
|
|
|
|
uses: docker/build-push-action@v6
|
|
|
|
with:
|
|
|
|
platforms: linux/amd64
|
2024-10-01 21:19:51 +00:00
|
|
|
push: true
|
2024-10-01 20:57:01 +00:00
|
|
|
tags: |
|
2024-10-01 21:19:51 +00:00
|
|
|
repo.anhonesthost.net/cloud-hosting-platform/cac:latest
|