Files
gitea-runner/.gitea/workflows/build_and_push.yml
2023-11-19 16:10:22 +01:00

23 lines
720 B
YAML

name: ci/cd with perso debian image to build and push docker image in private registry
#https://docs.docker.com/build/ci/github-actions/push-multi-registries/
#https://www.devsync.se/ci/cd/docker/2023/10/27/gitea-runner-build-docker-containers.html
on: [push]
jobs:
build-push-docker-image-perso:
# see on runner /data/.runner to add label (test => test:docker://debian:bullseye)
runs-on: test
container:
image: registry.jingoh.fr/alpine-test:latest
credentials:
username: ${{ secrets.REGISTRY_DOCKER_USER }}
password: ${{ secrets.REGISTRY_DOCKER_PASS }}
# runs-on: ubuntu-latest
# container: node:16-bullseye
steps:
- name: Show node
run: node -v