x
Some checks failed
ci / docker (push) Failing after 2m7s

This commit is contained in:
2025-11-06 17:39:28 +01:00
parent 82ad3f098e
commit 509aee0198

View File

@@ -1,19 +1,30 @@
name: Gitea Actions Demo name: ci
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push] on: [push]
jobs: jobs:
Explore-Gitea-Actions: docker:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - name: Checkout
- 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 uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - name: Log in to Docker Hub
- run: echo "🖥️ The workflow is now ready to test your code on the runner." uses: docker/login-action@v3
- name: List files in the repository with:
run: | username: danthe
ls ${{ gitea.workspace }} password: Secret666
- run: echo "🍏 This job's status is ${{ job.status }}." - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: "lab:latest"
driver: cloud
endpoint: "danthe/default"
install: true
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
tags: "danthe/test"
# For pull requests, export results to the build cache.
# Otherwise, push to a registry.
outputs: ${{ github.event_name == 'pull_request' && 'type=cacheonly' || 'type=registry,push=true' }}