Skip to content

Commit

Permalink
fix workflow paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mtyszkiewicz committed Oct 26, 2024
1 parent e7d7c7e commit e6344b9
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
name: Go
on:
push:
branches:
- 'main'
push:
branches:
- 'main'
# paths:
# - 'onkyo-api/**'

permissions:
packages: write

jobs:
build-and-test:
runs-on: ubuntu-latest

defaults:
run:
working-directory: ./onkyo-api
steps:
- uses: actions/checkout@v4
- name: Setup Go
Expand All @@ -26,6 +30,9 @@ jobs:

build-and-push-image:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./onkyo-api
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -46,6 +53,6 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
with:
context: .
context: ./onkyo-api
push: true
tags: ghcr.io/dreamsofcode-io/guestbook:prod

0 comments on commit e6344b9

Please sign in to comment.