Skip to content

Commit

Permalink
Merge pull request #194 from neonlabsorg/fix-oz-ci
Browse files Browse the repository at this point in the history
Fix oz ci
  • Loading branch information
gigimon authored Dec 15, 2023
2 parents 267c051 + e166b0d commit 535c59d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/openzeppelin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,14 @@ jobs:
- uses: actions/checkout@v3
- name: Define image tag
id: image_tag
uses: ./.github/actions/define-image-tag
run: |
if [[ "${{ needs.dockerize.result }}" != "skipped" ]]; then
tag=${{ github.sha }}
else
tag='latest'
fi
echo "tag=${tag}"
echo "tag=${tag}" >> $GITHUB_OUTPUT
- name: Pull docker image
run: docker pull ${{ env.IMAGE }}:${{ steps.image_tag.outputs.tag }}
- name: Run docker container
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ RUN mkdir -p ${DOWNLOAD_PATH} && \
COPY deploy/infra/compile_contracts.sh compatibility/openzeppelin-contracts
RUN cd compatibility/openzeppelin-contracts npm set audit false
RUN cd compatibility/openzeppelin-contracts && npm ci
RUN cd compatibility/openzeppelin-contracts && ./compile_contracts.sh
RUN cd compatibility/openzeppelin-contracts && ./compile_contracts.sh

0 comments on commit 535c59d

Please sign in to comment.