-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make work ci create release of tag (#39)
* compile only the correct package * temporary using local dockerfiles * fix ci
- Loading branch information
1 parent
56f8e8e
commit e360d23
Showing
4 changed files
with
28 additions
and
9 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -11,23 +11,42 @@ jobs: | |
runs-on: | ||
group: laos | ||
labels: ubuntu-16-cores | ||
strategy: | ||
matrix: | ||
docker_name: ['evolution-node', 'ownership-node', 'bridge'] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./.github/actions/setup | ||
- uses: ./.github/actions/cache | ||
with: | ||
cache-key: build_and_push | ||
- name: Build | ||
run: | | ||
cargo build --release | ||
- name: Log in to Docker Hub | ||
uses: docker/[email protected] | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_TOKEN }} | ||
|
||
- name: Build and push images | ||
- name: push image ownership node | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: . | ||
push: true | ||
file: ./docker/ownership-node.local.Dockerfile | ||
tags: freeverseio/laos-ownership-node:${{ github.ref_name }} | ||
|
||
- name: push image evolution node | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: . | ||
push: true | ||
file: ./docker/evolution-node.local.Dockerfile | ||
tags: freeverseio/laos-evolution-node:${{ github.ref_name }} | ||
|
||
- name: push image bridge | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: . | ||
push: true | ||
file: ./docker/${{ matrix.docker_name }}.Dockerfile | ||
tags: freeverseio/laos-${{ matrix.docker_name }}:${{ github.ref_name }} | ||
file: ./docker/bridge.local.Dockerfile | ||
tags: freeverseio/laos-bridge:${{ github.ref_name }} |
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
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
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