Skip to content

setting :: ref to latest #14

setting :: ref to latest

setting :: ref to latest #14

name: 'Publish to Registry If Taged'
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: ${{ inputs.service_name }}-${{ inputs.service_type }}
username: ${{ steps.ecr.outputs.username }}
password: ${{ steps.ecr.outputs.password }}
registry: ${{ steps.ecr.outputs.registry }}
tags: ${{ steps.get_tag.outputs.version_tag }}
buildargs: |
CLOUD_CONFIG_USERNAME=${{ secrets.CLOUD_CONFIG_USERNAME }}
CLOUD_CONFIG_PASSWORD=${{ secrets.CLOUD_CONFIG_PASSWORD }}
PROFILE=${{ inputs.environment }}