first try docker build
This commit is contained in:
@@ -35,7 +35,7 @@ jobs:
|
||||
env:
|
||||
REGISTRY: registry.jingoh.fr
|
||||
#if: gitea.event_name != 'pull_request'
|
||||
uses: github.com/docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
|
||||
uses: github.com/docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ secrets.GIT_USER }}
|
||||
@@ -56,7 +56,7 @@ jobs:
|
||||
# https://github.com/docker/build-push-action
|
||||
- name: Build and push Docker image
|
||||
id: build-and-push
|
||||
uses: docker/build-push-action@v4
|
||||
uses: docker/build-push-action@master
|
||||
with:
|
||||
context: "{{defaultContext}}:src"
|
||||
#push: ${{ github.event_name != 'pull_request' }} # Don't push on PR
|
||||
@@ -64,12 +64,5 @@ jobs:
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event. Test 4zet"
|
||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||
- name: Checkout private tools
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
# tape git@gitea.jingoh.fr port 22 et pas port 443 cet ane (should be ssh://gitea.jingoh.fr:443/$repository au lieu de ssh://gitea.jingoh.fr:$repository)
|
||||
repository: staffadmin/gitea-runner
|
||||
|
||||
- run: echo "🐧 This job was running on a ${{ runner.os }} server hosted by Gitea!"
|
||||
Reference in New Issue
Block a user