Skip to content

Commit

Permalink
fix build context
Browse files Browse the repository at this point in the history
  • Loading branch information
austbot committed Jun 17, 2024
1 parent 347b720 commit 7e99243
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract Version from Cargo.toml
run: echo "VERSION=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].version')" >> $GITHUB_ENV
run: echo "VERSION=$GITHUB_BRANCH-$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].version')" >> $GITHUB_ENV
working-directory: ./relay

- name: Build and Push Docker Image
uses: docker/build-push-action@v3
with:
context: ./relay
context: .
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/bonsol-relay-${{ matrix.flavor }}:${{ env.VERSION }}
Expand Down

0 comments on commit 7e99243

Please sign in to comment.