fix
This commit is contained in:
@@ -18,17 +18,11 @@ jobs:
|
|||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
- name: Extract Docker metadata
|
- name: Get Meta
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
run: |
|
||||||
with:
|
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT
|
||||||
images: ${{ vars.DOCKER_REGISTRY }}/${{ github.event.repository.name }}
|
echo REPO_VERSION=${GITHUB_REF_NAME#v} >> $GITHUB_OUTPUT
|
||||||
tags: |
|
|
||||||
type=semver,pattern={{version}}
|
|
||||||
type=sha
|
|
||||||
labels: |
|
|
||||||
org.opencontainers.image.source=${{ github.repository }}
|
|
||||||
org.opencontainers.image.revision=${{ github.sha }}
|
|
||||||
|
|
||||||
# - name: Debug metadata outputs
|
# - name: Debug metadata outputs
|
||||||
# run: echo "${{ toJson(steps.meta.outputs) }}"
|
# run: echo "${{ toJson(steps.meta.outputs) }}"
|
||||||
@@ -50,8 +44,9 @@ jobs:
|
|||||||
linux/amd64
|
linux/amd64
|
||||||
linux/arm64
|
linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: |
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
|
||||||
|
${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }}
|
||||||
|
|
||||||
- name: Trigger Dokploy Deployment
|
- name: Trigger Dokploy Deployment
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user