This commit is contained in:
@@ -26,13 +26,13 @@ jobs:
|
|||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ gitea.server_url }}
|
registry: ${{ gitea.server_url }}
|
||||||
username: ${{ gitea.actor }}
|
username: pat
|
||||||
password: ${{ secrets.GITEA_TOKEN }}
|
password: ${{ secrets.IMAGE_PUSH_TOKEN }}
|
||||||
- name: Extract metadata
|
- name: Extract metadata
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: ${{ gitea.server_url }}/${{ gitea.repository }}
|
images: ${{ gitea.server_url }}/${{ gitea.repository }}/base-frontend
|
||||||
tags: |
|
tags: |
|
||||||
type=sha,format=short
|
type=sha,format=short
|
||||||
type=semver,pattern=${{ steps.git-parse.outputs.PULP_UI_COMMIT }}
|
type=semver,pattern=${{ steps.git-parse.outputs.PULP_UI_COMMIT }}
|
||||||
@@ -44,6 +44,8 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
build-args: |
|
||||||
|
PULP_UI_COMMIT=${{ steps.git-parse.outputs.PULP_UI_COMMIT }}
|
||||||
|
|
||||||
# TODO: add build nginx image
|
# TODO: add build nginx image
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user