first try docker build

This commit is contained in:
2023-11-13 21:20:54 +01:00
parent 019feb566a
commit bd4e07cbb5

View File

@@ -6,6 +6,14 @@ jobs:
build-image:
runs-on: ubuntu-latest
steps:
- name: Print to Log
id: print-to-log
env:
REGISTRY: registry.jingoh.fr
uses: actions/hello-world-docker-action@main
with:
who-to-greet: ${{ env.REGISTRY }}
- name: Checkout private tools
uses: actions/checkout@v3
with:
@@ -27,7 +35,7 @@ jobs:
# Workaround: https://github.com/docker/build-push-action/issues/461
- name: Setup Docker buildx
uses: github.com/docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v2
# Login against a Docker registry except on PR
# https://github.com/docker/login-action
@@ -35,7 +43,7 @@ jobs:
env:
REGISTRY: registry.jingoh.fr
#if: gitea.event_name != 'pull_request'
uses: github.com/docker/login-action@v3
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.GIT_USER }}