Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramtamtam committed Feb 24, 2020
1 parent 611691a commit 4823b95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: release

on:
release: # Docs: <https://help.github.com/en/articles/events-that-trigger-workflows#release-event-release>
types: [prereleased, published]
types: [published]

jobs:
build:
Expand Down Expand Up @@ -63,4 +63,4 @@ jobs:
run: docker build --build-arg "APP_VERSION=${version}" --tag "tarampampam/mikrotik-hosts-parser:${image_tag}" -f ./Dockerfile .

- name: Push image
run: docker push "tarampampam/mikrotik-hosts-parser:${version/[vV]/}"
run: docker push "tarampampam/mikrotik-hosts-parser:${image_tag}"

0 comments on commit 4823b95

Please sign in to comment.