Compare commits
2 Commits
loki-v0.2.
...
20fb6572bc
| Author | SHA1 | Date | |
|---|---|---|---|
| 20fb6572bc | |||
| 90133d9191 |
@@ -45,10 +45,10 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up QEMU (for cross-arch builds)
|
# - name: Set up QEMU (for cross-arch builds)
|
||||||
uses: docker/setup-qemu-action@v3
|
# uses: docker/setup-qemu-action@v3
|
||||||
with:
|
# with:
|
||||||
platforms: arm64
|
# platforms: arm64
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
@@ -67,19 +67,19 @@ jobs:
|
|||||||
type=match,pattern=.*(v\d+\.\d+)\.\d+,group=1
|
type=match,pattern=.*(v\d+\.\d+)\.\d+,group=1
|
||||||
type=match,pattern=.*(v\d+)\.\d+\.\d+,group=1
|
type=match,pattern=.*(v\d+)\.\d+\.\d+,group=1
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
# - name: Login to GitHub Container Registry
|
||||||
uses: docker/login-action@v3
|
# uses: docker/login-action@v3
|
||||||
with:
|
# with:
|
||||||
registry: ghcr.io
|
# registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
# username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
# password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push
|
# - name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
# uses: docker/build-push-action@v6
|
||||||
with:
|
# with:
|
||||||
context: ${{ inputs.build_context }}
|
# context: ${{ inputs.build_context }}
|
||||||
file: ${{ inputs.file_path }}
|
# file: ${{ inputs.file_path }}
|
||||||
platforms: ${{ inputs.platforms }}
|
# platforms: ${{ inputs.platforms }}
|
||||||
push: true
|
# push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
# tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
# labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|||||||
20
.gitea/workflows/gitea-test.yaml
Normal file
20
.gitea/workflows/gitea-test.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
name: Gitea Actions Demo
|
||||||
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Explore-Gitea-Actions:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
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 }}."
|
||||||
|
- run: echo "✅ The workflow has completed successfully!"
|
||||||
Reference in New Issue
Block a user