Skip to content

Commit

Permalink
Automatically tag docker images using github ref name
Browse files Browse the repository at this point in the history
Signed-off-by: Brend Smits <[email protected]>
  • Loading branch information
Brend-Smits committed Jul 12, 2022
1 parent 3ce0edd commit f841846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
uses: actions/checkout@v3

- name: Build Docker Images
uses: philips-software/docker-ci-scripts@v3.3.2
uses: philips-software/docker-ci-scripts@main
with:
dockerfile: ./Action/Dockerfile
image-name: post-to-medium-action
tags: latest ${{ github.ref_name }}
push-branches: main ${{ github.ref }}
push-on-git-tag: "true"
env:
DOCKER_USERNAME: ${{ github.actor }}
DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit f841846

Please sign in to comment.