Skip to content

Commit

Permalink
chore(fe-build-image): update build args (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
YkeLit authored Jul 25, 2024
1 parent 9358268 commit ec840f0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions fe-build-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ runs:
context: ${{ inputs.context }}
file: ${{ inputs.dockerfile }}
build-args: |
APP_VSN=${{ steps.meta.outputs.version }}
APP_NAME=${{ steps.image.outputs.image_name }}
APP_VERSION=${{ fromJSON(steps.metadata.outputs.json).labels['org.opencontainers.image.version'] }}
APP_REVISION=${{ fromJSON(steps.metadata.outputs.json).labels['org.opencontainers.image.revision'] }}
SOURCE_REPO_URL=${{ github.repositoryUrl }}
SOURCE_SHA=${{ github.sha }}
${{ inputs.build_args }}
push: true
labels: ${{ steps.meta.outputs.labels }}
Expand All @@ -94,10 +94,10 @@ runs:
context: ${{ inputs.context }}
file: ${{ inputs.dockerfile }}
build-args: |
APP_VSN=${{ steps.meta.outputs.version }}
APP_NAME=${{ steps.image.outputs.image_name }}
APP_VERSION=${{ fromJSON(steps.metadata.outputs.json).labels['org.opencontainers.image.version'] }}
APP_REVISION=${{ fromJSON(steps.metadata.outputs.json).labels['org.opencontainers.image.revision'] }}
SOURCE_REPO_URL=${{ github.repositoryUrl }}
SOURCE_SHA=${{ github.sha }}
${{ inputs.build_args }}
push: true
labels: ${{ steps.meta.outputs.labels }}
Expand All @@ -113,10 +113,10 @@ runs:
context: ${{ inputs.context }}
file: ${{ inputs.dockerfile }}
build-args: |
APP_VSN=${{ steps.meta.outputs.version }}
APP_NAME=${{ steps.image.outputs.image_name }}
APP_VERSION=${{ fromJSON(steps.metadata.outputs.json).labels['org.opencontainers.image.version'] }}
APP_REVISION=${{ fromJSON(steps.metadata.outputs.json).labels['org.opencontainers.image.revision'] }}
SOURCE_REPO_URL=${{ github.repositoryUrl }}
SOURCE_SHA=${{ github.sha }}
${{ inputs.build_args }}
push: true
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit ec840f0

Please sign in to comment.