.gitea/workflows/gitea-ci.yaml aktualisiert
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 10s

This commit is contained in:
Marko Oldenburg 2024-09-16 14:54:30 +02:00
parent 5ac7ecb499
commit 3bb1792bdd

View File

@ -1,31 +1,19 @@
# name: Gitea Actions Demo
# .gitea/workflows/gitea-ci.yaml run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
#
name: Build And Push
run-name: ${{ gitea.actor }} is runs ci pipeline
on: [push] on: [push]
jobs: jobs:
release-image: Explore-Gitea-Actions:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: gitea.ref == 'refs/heads/main'
steps: steps:
- name: Set up Docker BuildX - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
uses: https://github.com/docker/setup-buildx-action@v3 - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
with: # replace it with your local IP - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
config-inline: | - name: Check out repository code
[registry."registry.tuxnet.lan"] uses: actions/checkout@v4
http = true - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
insecure = true - run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
- name: Build and push run: |
uses: https://github.com/docker/build-push-action@v5 ls ${{ gitea.workspace }}
with: - run: echo "🍏 This job's status is ${{ job.status }}."
context: .
file: ./Dockerfile
platforms: |
linux/amd64
push: true
tags: | # replace it with your local IP and tags
registry.tuxnet.lan/web/dokuwiki:20240206.2.0-debian-12-r3