Skip to content

Commit

Permalink
feat: add publish pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
mahoshojoHCG committed Jul 18, 2024
1 parent 00639eb commit 74a4e4d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Publish Container Packages

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Restore tool
run: dotnet tool restore
- name: Docker Login
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the Docker image
run: |
cd SecondDimensionWatcherReDive.AppHost
dotnet aspirate build --container-image-tag=$(git rev-parse --short HEAD) --disable-secrets --non-interactive

0 comments on commit 74a4e4d

Please sign in to comment.