Skip to content

Commit

Permalink
use sha
Browse files Browse the repository at this point in the history
  • Loading branch information
kziemianek committed May 21, 2024
1 parent 2e26514 commit 247162a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_bitacross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.ref || github.ref }}
ref: ${{ github.event.inputs.ref || github.sha }}
fetch-depth: 0

- name: Build local builder
uses: docker/build-push-action@v5
with:
context: .
file: bitacross-worker/build.Dockerfile
tags: local-builder:${{ github.event.inputs.ref || github.ref }}
tags: local-builder:${{ github.event.inputs.ref || github.sha }}
target: builder
build-args: |
WORKER_MODE_ARG=offchain-worker
Expand All @@ -35,7 +35,7 @@ jobs:
with:
context: .
file: bitacross-worker/build.Dockerfile
tags: litentry/bitacross-worker:${{ github.event.inputs.ref || github.ref }}
tags: litentry/bitacross-worker:${{ github.event.inputs.ref || github.sha }}
target: deployed-worker

- name: Dockerhub login
Expand Down

0 comments on commit 247162a

Please sign in to comment.