refactor: docker stuff
This commit is contained in:
@@ -51,11 +51,11 @@ jobs:
|
||||
push: true
|
||||
provenance: false
|
||||
build-args: |
|
||||
APP_VERSION=${{ steps.version.outputs.value }}
|
||||
VCS_REF=${{ github.sha }}
|
||||
APP_VERSION=${{ github.sha }}
|
||||
VCS_REF=${{ github.run_number }}
|
||||
tags: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev
|
||||
labels: |
|
||||
org.opencontainers.image.version=${{ steps.version.outputs.value }}
|
||||
org.opencontainers.image.revision=${{ github.sha }}
|
||||
org.opencontainers.image.version=${{ github.sha }}
|
||||
org.opencontainers.image.revision=${{ github.run_number }}
|
||||
org.opencontainers.image.source=https://github.com/${{ github.repository }}
|
||||
|
||||
@@ -57,14 +57,13 @@ jobs:
|
||||
push: true
|
||||
provenance: false
|
||||
build-args: |
|
||||
APP_VERSION=${{ steps.version.outputs.value }}
|
||||
VCS_REF=${{ github.sha }}
|
||||
APP_VERSION=${{ github.sha }}
|
||||
VCS_REF=${{ github.run_number }}
|
||||
tags: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.docker_tag }}
|
||||
labels: |
|
||||
org.opencontainers.image.version=${{ steps.version.outputs.value }}
|
||||
org.opencontainers.image.revision=${{ github.sha }}
|
||||
org.opencontainers.image.version=${{ github.sha }}
|
||||
org.opencontainers.image.revision=${{ github.run_number }}
|
||||
org.opencontainers.image.source=https://github.com/${{ github.repository }}
|
||||
|
||||
- name: Create GitHub release
|
||||
|
||||
Reference in New Issue
Block a user