Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d7cdb6be9d | |||
| df18b23f88 | |||
| da6f636c5f | |||
| 07596178fc | |||
| f9c335b5a7 | |||
| 9b6976d758 |
@@ -9,31 +9,32 @@ on:
|
|||||||
- '*'
|
- '*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
build-push-docker-image:
|
||||||
# see on runner /data/.runner to add label (test => test:docker://debian:bullseye)
|
# see on runner /data/.runner to add label (test => test:docker://debian:bullseye)
|
||||||
runs-on: test
|
runs-on: test
|
||||||
container: debian:bullseye
|
container: debian:bullseye
|
||||||
# runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
# container: node:16-bullseye
|
# container: node:16-bullseye
|
||||||
steps:
|
|
||||||
|
|
||||||
|
steps:
|
||||||
- name: Print version and repository
|
- name: Print version and repository
|
||||||
run: echo "Runner working on repository ${{ gitea.repository }} and on tag ${{ gitea.ref_name }}"
|
run: echo "Runner working on repository ${{ gitea.repository }} and on tag ${{ gitea.ref_name }}"
|
||||||
|
|
||||||
- name: Install nodejs for github action
|
- name: Install nodejs and dnsutils and git for github action
|
||||||
run: |
|
run: |
|
||||||
apt-get -y install node
|
apt-get update
|
||||||
|
apt-get -y install nodejs dnsutils git
|
||||||
|
|
||||||
- name: Git clone private repo
|
- name: Git clone private repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: ${{ gitea.repository }}
|
repository: ${{ gitea.repository }}
|
||||||
token: ${{ secrets.ACCESS_TOKEN_GIT }}
|
token: ${{ secrets.ACCESS_TOKEN_GIT }}
|
||||||
|
|
||||||
- name: Install Docker engine
|
- name: Install Docker
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get -y install ca-certificates curl gnupg dnsutils
|
apt-get -y install ca-certificates curl gnupg
|
||||||
install -m 0755 -d /etc/apt/keyrings
|
install -m 0755 -d /etc/apt/keyrings
|
||||||
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
||||||
chmod a+r /etc/apt/keyrings/docker.gpg
|
chmod a+r /etc/apt/keyrings/docker.gpg
|
||||||
|
|||||||
Reference in New Issue
Block a user