Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0d1c34d1f8 | |||
| ca1bc2b573 |
@@ -5,6 +5,10 @@ on:
|
|||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
|
|
||||||
|
env:
|
||||||
|
REGISTRY: git.igmlcreation.fr
|
||||||
|
REGISTRY_USER: ietm64
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -19,11 +23,19 @@ jobs:
|
|||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
|
- name: Debug token length
|
||||||
|
run: |
|
||||||
|
echo "Token length: ${#TOKEN}"
|
||||||
|
echo "First char code: $(printf '%d' "'${TOKEN:0:1}")"
|
||||||
|
echo "Last char code: $(printf '%d' "'${TOKEN: -1}")"
|
||||||
|
env:
|
||||||
|
TOKEN: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
|
||||||
- name: Login to Gitea Registry
|
- name: Login to Gitea Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ vars.REGISTRY_URL }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ vars.REGISTRY_USER }}
|
username: ${{ env.REGISTRY_USER }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
|
||||||
- name: Extract version
|
- name: Extract version
|
||||||
@@ -36,5 +48,5 @@ jobs:
|
|||||||
context: ./${{ matrix.component }}
|
context: ./${{ matrix.component }}
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
${{ vars.REGISTRY_URL }}/loremindmj/${{ matrix.component }}:latest
|
${{ env.REGISTRY }}/loremindmj/${{ matrix.component }}:latest
|
||||||
${{ vars.REGISTRY_URL }}/loremindmj/${{ matrix.component }}:${{ steps.meta.outputs.version }}
|
${{ env.REGISTRY }}/loremindmj/${{ matrix.component }}:${{ steps.meta.outputs.version }}
|
||||||
|
|||||||
Reference in New Issue
Block a user