Compare commits

..

7 Commits
0.4 ... 1.1

Author SHA1 Message Date
682f0c9cf1 test label 2023-11-19 13:48:59 +01:00
83332decd0 test label 2023-11-19 13:48:18 +01:00
5a8356f8e1 test 2023-11-19 13:24:35 +01:00
3c0d37a439 test 2023-11-19 13:15:59 +01:00
77444bcdac ae 2023-11-19 13:13:23 +01:00
1f6ce384f0 looks good 2023-11-19 13:01:26 +01:00
de71278bf9 tst 2023-11-19 12:57:02 +01:00

View File

@@ -10,12 +10,14 @@ on:
jobs:
docker:
runs-on: ubuntu-latest
runs-on: test
#runs-on: ubuntu-latest:docker://node:16-bullseye
#runs-on: ubuntu-latest:docker://debian:bullseye
steps:
- name: Print version and repository
run: echo "Runner working on repository ${{ gitea.repository }} and on tag ${{ GITHUB_REF_NAME }} ${{ gitea.ref_name }}"
run: echo "Runner working on repository ${{ gitea.repository }} and on tag ${{ gitea.ref_name }}"
- name: Install Docker engine
run: |
apt-get update
@@ -27,14 +29,17 @@ jobs:
apt-get update
apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin
- name: Print docker images
run: docker images
- name: Git clone private repo
uses: actions/checkout@v4
with:
repository: staffadmin/gitea-runner
persist-credentials: false
ssh-strict: false
repository: ${{ gitea.repository }}
# persist-credentials: false
# ssh-strict: false
token: ${{ secrets.ACCESS_TOKEN_GIT }}
ssh-known-hosts: ${{ secrets.SSH_KNOWN_GITEA }}
# ssh-known-hosts: ${{ secrets.SSH_KNOWN_GITEA }}
- name: Login to docker private registry
uses: docker/login-action@v3
@@ -48,4 +53,4 @@ jobs:
with:
context: .
push: true
tags: ${{ vars.REGISTRY_DOCKER }}/${{ vars.DOCKER_IMAGE_NAME }}:latest,${{ vars.REGISTRY_DOCKER }}/${{ vars.DOCKER_IMAGE_NAME }}:${{ GITHUB_REF_NAME }}
tags: ${{ vars.REGISTRY_DOCKER }}/${{ vars.DOCKER_IMAGE_NAME }}:latest,${{ vars.REGISTRY_DOCKER }}/${{ vars.DOCKER_IMAGE_NAME }}:${{ gitea.ref_name }}