-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main'
- Loading branch information
Showing
13 changed files
with
203 additions
and
242 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Build base builder docker image | ||
on: | ||
push: | ||
paths: | ||
- base.builder.Dockerfile | ||
- ./github/workflows/build-base-builder-docker.yaml | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Log in to Docker Hub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
- name: Build and push | ||
uses: docker/build-push-action@v5 | ||
with: | ||
push: true | ||
file: base.builder.Dockerfile | ||
context: . | ||
platforms: linux/amd64,linux/arm64 | ||
tags: fireboomapi/base-builder-fireboom:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Build base runner docker image | ||
on: | ||
push: | ||
paths: | ||
- base.runner.Dockerfile | ||
- ./github/workflows/build-base-runner-docker.yaml | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Log in to Docker Hub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
- name: Build and push | ||
uses: docker/build-push-action@v5 | ||
with: | ||
push: true | ||
file: base.runner.Dockerfile | ||
context: . | ||
platforms: linux/amd64,linux/arm64 | ||
tags: fireboomapi/base-runner-fireboom:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Build fireboom latest docker image from main branch | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths_ignore: | ||
- './github/workflows/build-base-builder-docker.yaml' | ||
- './github/workflows/build-base-runner-docker.yaml' | ||
- './github/workflows/build-release-docker.yaml' | ||
- './github/workflows/build-release.yaml' | ||
- './github/workflows/build-main.yaml' | ||
- 'README.md' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
FB_VERSION: test | ||
steps: | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Log in to Docker Hub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
- name: Build and push | ||
uses: docker/build-push-action@v5 | ||
with: | ||
push: true | ||
platforms: linux/amd64,linux/arm64 | ||
tags: | | ||
fireboomapi/fireboom:latest | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Build fireboom latest binary from main branch | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths_ignore: | ||
- './github/workflows/build-base-builder-docker.yaml' | ||
- './github/workflows/build-base-runner-docker.yaml' | ||
- './github/workflows/build-release-docker.yaml' | ||
- './github/workflows/build-release.yaml' | ||
- './github/workflows/build-main-docker.yaml' | ||
- 'Dockerfile' | ||
- 'README.md' | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
FB_VERSION: test | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.21.8 | ||
- name: Build | ||
run: | | ||
go mod tidy | ||
sh scripts/build-all.sh | ||
sh scripts/tar-all.sh | ||
sh scripts/clear-bin.sh | ||
- name: R2 Upload Action | ||
uses: ryand56/r2-upload-action@latest | ||
with: | ||
r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | ||
r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | ||
r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | ||
r2-bucket: fb-bin | ||
source-dir: release | ||
destination-dir: ./main | ||
|
Oops, something went wrong.