Skip to content

Commit

Permalink
Merge pull request #258 from datamade/add-raw
Browse files Browse the repository at this point in the history
add raw tags to github action expressions
  • Loading branch information
smcalilly authored Apr 1, 2022
2 parents 6ee0e17 + cd8883b commit 93bfc2e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Publish Docker image
on:
workflow_dispatch:
workflow_dispatch:
jobs:
push_to_registry:
name: Push Docker image to GitHub Packages
Expand All @@ -10,10 +10,10 @@ jobs:
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: {% raw %}${{ github.actor }}{% endraw %}
password: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}
- name: Push to GitHub Packages
uses: docker/build-push-action@v2
with:
push: true
tags: ghcr.io/${{ github.repository }}:latest
tags: ghcr.io/{% raw %}${{ github.repository }}{% endraw %}:latest

0 comments on commit 93bfc2e

Please sign in to comment.