diff --git a/docker/templates/new-django-app/{{cookiecutter.app_name}}/.github/workflows/publish_docker_image.yml b/docker/templates/new-django-app/{{cookiecutter.app_name}}/.github/workflows/publish_docker_image.yml index 5fdb613..0a924d3 100644 --- a/docker/templates/new-django-app/{{cookiecutter.app_name}}/.github/workflows/publish_docker_image.yml +++ b/docker/templates/new-django-app/{{cookiecutter.app_name}}/.github/workflows/publish_docker_image.yml @@ -1,6 +1,6 @@ name: Publish Docker image on: - workflow_dispatch: + workflow_dispatch: jobs: push_to_registry: name: Push Docker image to GitHub Packages @@ -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