Compare commits

...

3 Commits

Author SHA1 Message Date
18fc839376 [test runner] 2024-11-23 16:30:07 +01:00
6445cfac59 [test build_push] 2024-11-23 16:12:26 +01:00
c223a84285 [test package build] 2024-11-23 15:58:42 +01:00
3 changed files with 14 additions and 14 deletions

View File

@@ -16,12 +16,14 @@ jobs:
# container: debian:bullseye # container: debian:bullseye
# runs-on: ubuntu-latest # runs-on: ubuntu-latest
# container: node:16-bullseye # container: node:16-bullseye
runs-on: debian-runner runs-on: ubuntu-latest
container: container:
image: ${{ vars.REGISTRY_DOCKER }}/${{ vars.DOCKER_IMAGE_RUNNER }}:latest image: docker:dind
credentials: # container:
username: ${{ secrets.REGISTRY_DOCKER_USER }} # image: ${{ vars.REGISTRY_DOCKER }}/${{ vars.DOCKER_IMAGE_RUNNER }}:latest
password: ${{ secrets.REGISTRY_DOCKER_PASS }} # credentials:
# username: ${{ secrets.REGISTRY_DOCKER_USER }}
# password: ${{ secrets.REGISTRY_DOCKER_PASS }}
steps: steps:

View File

@@ -10,7 +10,7 @@ env:
on: on:
push: push:
tags: tags:
- '-samplescript' - '*-samplescript'
jobs: jobs:
build-package-push-repo: build-package-push-repo:

View File

@@ -1,7 +1,10 @@
name: Gitea Actions Demo name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push] # on: [push]
on:
push:
tags:
- '*'
## Exemple https://github.com/actions/starter-workflows/blob/main/ci/docker-publish.yml ## Exemple https://github.com/actions/starter-workflows/blob/main/ci/docker-publish.yml
jobs: jobs:
@@ -13,12 +16,7 @@ jobs:
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - 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." - run: echo "🖥️ The workflow is now ready to test your code on the runner."
- run: echo "${{ vars.TEST }}"
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "🍏 This job's status is ${{ job.status }}."
- name: Git clone private repository - name: Git clone private repository
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with: