add Fedora Kinoite Zrch Toolbox Gitea build job
All checks were successful
Gitea Actions Demo / build-arch-toolbox (push) Successful in 4m1s

This commit is contained in:
2024-11-26 10:01:43 -05:00
parent fc96c76b49
commit 58daf523ea
2 changed files with 18 additions and 11 deletions

View File

@@ -3,17 +3,22 @@ run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
build-arch-toolbox:
runs-on: ubuntu-latest
if: gitea.ref == 'refs/heads/main'
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
- name: Login to Gitea Registry
uses: docker/login-action@v2
with:
registry: gitea.reeseapps.com
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push Docker image
uses: https://github.com/docker/build-push-action@v5
with:
context: ${{ gitea.workspace }}/infrastructure/graduated/fedora
file: ${{ gitea.workspace }}/infrastructure/graduated/fedora/Containerfile
push: true
tags: "gitea.reeseapps.com/services/arch-toolbox:latest,gitea.reeseapps.com/services/arch-toolbox:${{gitea.sha}}"