Skip to content

Commit

Permalink
build: 🔧 Adjust build job
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed Jun 13, 2024
1 parent 7441202 commit e4fc8ed
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Publish Docker Images
on:
release:
types: [created]
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -89,3 +90,22 @@ jobs:
context: .
push: true
tags: jives/hlds:tfc

- name: Bump version and push tag
id: create_tag
uses: anothrNick/github-tag-action@1.34.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
DEFAULT_BUMP: minor

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.create_tag.outputs.new_tag }}
release_name: ${{ steps.create_tag.outputs.new_tag }}
draft: false
prerelease: false

0 comments on commit e4fc8ed

Please sign in to comment.