Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: release

on:
workflow_run:
workflows: ['CI']
workflows: ["CI"]
types:
- completed
branches:
Expand Down Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v3.0.0
with:
versionSpec: '5.x'
versionSpec: "5.x"
- name: Set SemVer Version
uses: gittools/actions/gitversion/execute@v3.0.0
id: gitversion
Expand All @@ -50,7 +50,7 @@ jobs:

- name: Install Eirctl
uses: ensono/actions/eirctl-setup@v0.3.1
with:
with:
version: 0.7.6
isPrerelease: false

Expand All @@ -66,7 +66,7 @@ jobs:
generate_release_notes: true
token: ${{ secrets.GITHUB_TOKEN }}
files: ./dist/*
prerelease: false
prerelease: true
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why pre release?


- name: release library
run: |
Expand Down
19 changes: 11 additions & 8 deletions .github/workflows/release_container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@ name: Publish Container

on:
workflow_run:
workflows: ['Lint and Test']
workflows: ["Lint and Test"]
types:
- completed
branches:
branches:
- main
- master

permissions:
contents: write
packages: write
packages: write

jobs:
set-version-tag:
if: ${{ github.event.workflow_run.head_branch == 'main' }}
if: ${{ github.event.workflow_run.head_branch == 'master' }}
runs-on: ubuntu-24.04
outputs:
semVer: ${{ steps.gitversion.outputs.semVer }}
Expand All @@ -27,7 +28,7 @@ jobs:
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v3.0
with:
versionSpec: '5.x'
versionSpec: "5.x"
- name: Set SemVer Version
uses: gittools/actions/gitversion/execute@v3.0
id: gitversion
Expand Down Expand Up @@ -60,7 +61,9 @@ jobs:
with:
context: .
push: true
build-args: Version=${{ needs.set-version-tag.outputs.semVer }},Revision=${{ github.sha }}
build-args: |
Version=${{ needs.set-version-tag.outputs.semVer }}
Revision=${{ github.sha }}
tags: |
ghcr.io/ensono/eirctl:${{ needs.set-version-tag.outputs.semVer }}
platforms: linux/amd64,linux/arm64 # adjust as needed
ghcr.io/devlabfoundry/configmanager:${{ needs.set-version-tag.outputs.semVer }}
platforms: linux/amd64,linux/arm64 # adjust as needed
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ dist

# local testers and
local/

.configmanager
.trivy
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Newline pls

Loading