first try docker build
This commit is contained in:
@@ -6,6 +6,14 @@ jobs:
|
|||||||
build-image:
|
build-image:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
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
|
- name: Checkout private tools
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@@ -27,7 +35,7 @@ jobs:
|
|||||||
|
|
||||||
# Workaround: https://github.com/docker/build-push-action/issues/461
|
# Workaround: https://github.com/docker/build-push-action/issues/461
|
||||||
- name: Setup Docker buildx
|
- 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
|
# Login against a Docker registry except on PR
|
||||||
# https://github.com/docker/login-action
|
# https://github.com/docker/login-action
|
||||||
@@ -35,7 +43,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
REGISTRY: registry.jingoh.fr
|
REGISTRY: registry.jingoh.fr
|
||||||
#if: gitea.event_name != 'pull_request'
|
#if: gitea.event_name != 'pull_request'
|
||||||
uses: github.com/docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ secrets.GIT_USER }}
|
username: ${{ secrets.GIT_USER }}
|
||||||
|
|||||||
Reference in New Issue
Block a user