Update for pushing
This commit is contained in:
parent
87145f2ba4
commit
5f023420d2
1 changed files with 12 additions and 3 deletions
|
@ -15,6 +15,13 @@ jobs:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Login to registery
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: git.oooo.nz
|
||||||
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.PUSH_TOKEN }}
|
||||||
|
|
||||||
- name: Extract metadata (tags, labels) for Docker
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5.6.1
|
uses: docker/metadata-action@v5.6.1
|
||||||
|
@ -37,7 +44,9 @@ jobs:
|
||||||
uses: docker/build-push-action@v6.13.0
|
uses: docker/build-push-action@v6.13.0
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
push: true
|
||||||
push: false
|
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
secrets: |
|
||||||
|
GIT_AUTH_TOKEN=${{ secrets.PUSH_TOKEN }}
|
Loading…
Add table
Add a link
Reference in a new issue