Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
docker fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tiero committed Jun 11, 2024
1 parent 603cadc commit e581078
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:

- name: Extract tag name
id: extract_tag
run: echo "::set-output name=tag::${GITHUB_REF#refs/tags/}"
run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV

- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ark-network/clark:latest,ark-network/clark:${{ steps.extract_tag.outputs.tag }}
tags: ark-network/clark:latest,ark-network/clark:${{ env.TAG }}
platforms: linux/amd64,linux/arm64

- name: Install Rust toolchain
Expand All @@ -41,9 +41,12 @@ jobs:
override: true
components: rustfmt, clippy

- name: Install Protobuf Compiler
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
- name: Install Clang
run: sudo apt-get install -y clang

- name: Install Protobuf Compiler
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler libclang-dev && sudo rm -rf /var/lib/apt/lists/*

- name: Build binaries
run: |
rustup target add x86_64-unknown-linux-gnu
Expand Down

0 comments on commit e581078

Please sign in to comment.