Skip to content

Commit

Permalink
ci: update ci, remove release branch limit
Browse files Browse the repository at this point in the history
  • Loading branch information
erguotou520 committed Apr 26, 2024
1 parent 114e17a commit f35749a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-main-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
env:
FB_VERSION: test
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand All @@ -29,6 +32,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/build-release-docker.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
name: Build docker production image for release branch
on:
push:
branches:
- release
tags:
- 'v*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand All @@ -24,6 +25,7 @@ jobs:
env:
FB_VERSION: ${{ github.ref_name }}
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Build fireboom production binary from release branch
on:
push:
branches:
- release
tags:
- 'v*'

Expand Down

0 comments on commit f35749a

Please sign in to comment.