Skip to content

Commit

Permalink
fix workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasBeuzen committed Feb 2, 2022
1 parent fa11f16 commit b0e3cf4
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Publish Docker image on DockerHub
name: Publish Docker image to DockerHub

on:
push:
branches:
- main
paths:
- 'Dockerfile'
branches: [ main ]
workflow_dispatch:

jobs:
Expand All @@ -21,14 +19,14 @@ jobs:
uses: anothrNick/[email protected]
id: bump
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ steps.bump.outputs.new_tag }}
release_name: ${{ steps.bump.outputs.new_tag }}
Expand Down

0 comments on commit b0e3cf4

Please sign in to comment.