Skip to content

Commit

Permalink
push custom date tag to
Browse files Browse the repository at this point in the history
  • Loading branch information
parisnakitakejser committed Mar 8, 2021
1 parent e3cd7c2 commit a9c4bdc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/php-build-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,8 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Push to DockerHub
run: docker push ${{ env.docker_registry }}/${{ env.docker_repo }}:${{ steps.vars.outputs.short_ref }}
- name: Push tag ${{ steps.vars.outputs.short_ref }} to DockerHub
run: docker push ${{ env.docker_registry }}/${{ env.docker_repo }}:${{ steps.vars.outputs.short_ref }}

- name: Push tag ${{ steps.vars.outputs.short_ref }}_${{ steps.date.outputs.date }} to DockerHub
run: docker push ${{ env.docker_registry }}/${{ env.docker_repo }}:${{ steps.vars.outputs.short_ref }}_${{ steps.date.outputs.date }}

0 comments on commit a9c4bdc

Please sign in to comment.