Skip to content

Commit

Permalink
Fix publish api and frontend GitHub workflows (#58)
Browse files Browse the repository at this point in the history
* Add buildx so docker build works in self hosted runners

* Temporarily add branch to CI for testing

* temporarily add branch to ci to test it

* Try large GH runners

* Avoid self hosted runners for publishing actions

* Remove temporarily added branch from CI workflow
  • Loading branch information
omar-selo authored Nov 1, 2023
1 parent 436ab7f commit 5b6e7f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/publish_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:

jobs:
build-and-push-image:
runs-on: [self-hosted, linux]
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
Expand All @@ -17,6 +17,9 @@ jobs:
IMAGE_NAME: ${{ github.repository }}/api

steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Checkout repository
uses: actions/checkout@v3

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/publish_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:

jobs:
build-and-push-frontend-image:
runs-on: [self-hosted, linux]
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
Expand All @@ -17,6 +17,9 @@ jobs:
IMAGE_NAME: ${{ github.repository }}/frontend

steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Checkout repository
uses: actions/checkout@v3

Expand Down

0 comments on commit 5b6e7f4

Please sign in to comment.