Skip to content

Commit

Permalink
Merge pull request #3 from bandprotocol/test-build
Browse files Browse the repository at this point in the history
test build
  • Loading branch information
colmazia authored Nov 17, 2022
2 parents 2c07633 + c087d86 commit 6adb15e
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
config:
- { os: ubuntu-latest, target: x86_64-unknown-linux-gnu }
- { os: ubuntu-latest, target: aarch64-unknown-linux-gnu }
- { os: macos-latest, target: x86_64-apple-darwin }
- { os: macos-latest, target: x86_64-apple-darwin }
runs-on: ${{ matrix.config.os }}
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -56,28 +56,3 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# (optional)
CARGO_PROFILE_RELEASE_LTO: true
docker-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Get release version
run: echo "TAG=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: ./ci/release/
file: ./ci/release/hermes.Dockerfile
push: true
build-args: TAG=v${{env.TAG}}
tags: informalsystems/hermes:${{env.TAG}}
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit 6adb15e

Please sign in to comment.