Compare commits
No commits in common. "feature_dockerx" and "main" have entirely different histories.
feature_do
...
main
@ -14,10 +14,6 @@ inputs:
|
||||
description: 'Docker build arguments'
|
||||
required: false
|
||||
default: ''
|
||||
platform:
|
||||
description: 'Platform'
|
||||
required: false
|
||||
default: 'linux/amd64'
|
||||
outputs:
|
||||
image_version:
|
||||
description: "Image version"
|
||||
@ -38,5 +34,6 @@ runs:
|
||||
shell: sh
|
||||
- name: Build and push docker
|
||||
run: |
|
||||
docker buildx build --tag ${{ inputs.image_name }}:${{ steps.git.outputs.short_hash }} ${{ inputs.aditional_args }} --platform ${{inputs.platform }} --push .
|
||||
docker build . -t ${{ inputs.image_name }}:${{ steps.git.outputs.short_hash }} ${{ inputs.aditional_args }} && \
|
||||
docker push ${{ inputs.image_name }}:${{ steps.git.outputs.short_hash }}
|
||||
shell: sh
|
||||
|
Loading…
Reference in New Issue
Block a user