Compare commits

..

8 Commits

Author SHA1 Message Date
a23671e961 [test demo] 2024-11-23 13:11:25 +01:00
745e2378af dsqfds 2023-11-20 16:00:41 +01:00
bee8958456 POUSH 2023-11-20 15:58:36 +01:00
0d58811815 wxcwxc 2023-11-20 15:46:27 +01:00
7ae17012da dsqc 2023-11-20 15:45:28 +01:00
73bd9a4581 cwxxwc 2023-11-20 15:44:47 +01:00
9d9529db67 qsd 2023-11-20 15:43:55 +01:00
1ae6ea877d rez 2023-11-20 15:42:15 +01:00
2 changed files with 11 additions and 7 deletions

View File

@@ -31,12 +31,11 @@ jobs:
username: ${{ secrets.REGISTRY_DOCKER_USER }}
password: ${{ secrets.REGISTRY_DOCKER_PASS }}
- name: git clone repo
run: git clone https://github.com/EnableSecurity/wafw00f
- name: docker build and push
- name: clone & build & push
run: |
docker buildx b wafw00f/Dockerfile -t ${{ vars.DOCKER_IMAGE_WAFWOOF }}
git clone https://github.com/EnableSecurity/wafw00f
cd wafw00f
docker buildx b . -t ${{ vars.DOCKER_IMAGE_WAFWOOF }}
docker tag ${{ vars.DOCKER_IMAGE_WAFWOOF }} ${{ vars.REGISTRY_DOCKER }}/${{ vars.DOCKER_IMAGE_WAFWOOF }}
docker push ${{ vars.REGISTRY_DOCKER }}/${{ vars.DOCKER_IMAGE_WAFWOOF }}

View File

@@ -1,6 +1,6 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [never]
on: [push]
## Exemple https://github.com/actions/starter-workflows/blob/main/ci/docker-publish.yml
@@ -13,9 +13,14 @@ jobs:
- 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 workflow is now ready to test your code on the runner."
- run: echo "lala"
- run: echo "${{ vars.TEST }}"
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
- name: Git clone private repository
uses: actions/checkout@v3
with:
repository: staffadmin/semaphore
token: ${{ secrets.REPO_PULL_GITEA }}