Skip to content

Commit

Permalink
Always use f0 for aws release build
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Dec 13, 2023
1 parent c879ff2 commit 1d54375
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,9 @@ concurrency:
cancel-in-progress: true

jobs:
label-detector:
name: Runner Label
runs-on: label-detector
outputs:
runs-on: ${{ steps.detector.outputs.label }}
steps:
- name: Detect Label
id: detector
run: |
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idoutputs
echo "label=$(curl -fsSL https://this-is-nats.appscode.ninja/runs-on/${{ github.repository_owner }}?visibility=${{ github.repository_visibility }})" >> $GITHUB_OUTPUT
build:
name: Build
needs: label-detector
runs-on: "${{ needs.label-detector.outputs.runs-on }}"
runs-on: f0
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v1
Expand All @@ -50,6 +37,9 @@ jobs:
sudo apt-get install -y unzip
GOBIN=/usr/local/bin go install golang.org/x/tools/cmd/goimports@latest
# - name: Setup upterm session
# uses: lhotari/action-upterm@v1

- name: Publish to GitHub Container Registry
env:
REGISTRY: ghcr.io/kubedb
Expand Down

0 comments on commit 1d54375

Please sign in to comment.