Update main.yml
This commit is contained in:
parent
8e66c60a79
commit
504db35fff
23
.github/workflows/main.yml
vendored
23
.github/workflows/main.yml
vendored
|
@ -43,18 +43,23 @@ jobs:
|
|||
with:
|
||||
python-version: 3.12.0-alpha.3
|
||||
|
||||
|
||||
- uses: paulhatch/semantic-version@v5.0.2
|
||||
id: vnum
|
||||
with:
|
||||
# The prefix to use to identify tags
|
||||
tag_prefix: "v"
|
||||
major_pattern: "(MAJOR)"
|
||||
minor_pattern: "(MINOR)"
|
||||
version_format: "${major}.${minor}.${patch}-prerelease${increment}"
|
||||
bump_each_commit: true
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
tags: |
|
||||
${{ steps.meta.outputs.tags }}
|
||||
${{ steps.vnum.formatted_version }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
- name: NWS Pull New Image
|
||||
uses: nickorlow/nws-pull-new-image@v0.9.2
|
||||
with:
|
||||
# Your NWS Deploy Key
|
||||
deploy-key: ${{ secrets.NWS_DEPLOY_KEY }}
|
||||
# The application id to get a new image for
|
||||
application-id: ${{ secrets.NWS_APPLICATION_ID }}
|
||||
|
|
Loading…
Reference in a new issue