asqdqs
This commit is contained in:
22
.gitea/workflows/build_and_push.yml
Normal file
22
.gitea/workflows/build_and_push.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
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/test-alpine: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
|
||||
Reference in New Issue
Block a user