Skip to content

Commit

Permalink
actually build
Browse files Browse the repository at this point in the history
  • Loading branch information
Yucked authored Oct 15, 2023
1 parent 093e4ee commit 12fd638
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ jobs:
uses: actions/setup-dotnet@v3.2.0
with:
dotnet-version: 8.x


- name: Build Project
run: dotnet build --configuration Release -o Output

publish:
name: Publish to GitHub
runs-on: ubuntu-latest
Expand All @@ -31,10 +34,16 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Normalize repository name
id: norm_name
run: |
echo IMAGE_NAME=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
pull: true
with:
context: .
push: true
tags: ghcr.io/yucked/grimoire:${{ github.run_number }}
tags: |
${{ env.IMAGE_NAME }}:latest
${{ env.IMAGE_NAME }}:${{ github.run_number }}

0 comments on commit 12fd638

Please sign in to comment.