Updating publish
This commit is contained in:
parent
8d0d71473a
commit
c595c79980
|
|
@ -13,20 +13,16 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
|
||||
- name: Docker registry login
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3.0.0
|
||||
with:
|
||||
registry: ${{ secrets.DOCKER_REPO }}
|
||||
username: ${{ secrets.DOCKER_USER }}
|
||||
password: ${{ secrets.DOCKER_PSWD }}
|
||||
logout: true
|
||||
|
||||
- name: Get Release Tag
|
||||
id: get_release_tag
|
||||
run: echo "::set-output name=tag::${{ github.event.release.tag_name }}"
|
||||
|
||||
- name: Publish Docker image
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: ${{ github.workspace }}
|
||||
push: true
|
||||
tags: docker.eu1.hsdp.io/reporting:${{ steps.get_release_tag.outputs.tag }}
|
||||
tags: docker.eu1.hsdp.io/reporting:${{ github.event.release.tag_name }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue