Skip to content

Commit

Permalink
docker update in master builder
Browse files Browse the repository at this point in the history
  • Loading branch information
InoMurko committed Jun 27, 2023
1 parent 210b1d3 commit 69ab9c6
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 7 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/boba-publish-develop.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: Publish Packages (boba-develop)

on:
pull_request:

# push:
# branches:
# - 'develop'
push:
branches:
- 'develop'

jobs:

Expand Down Expand Up @@ -129,7 +127,7 @@ jobs:

- name: Build the core services
working-directory: ./ops
run: docker-compose build fraud-detector
run: docker-compose build

- name: Build the side services
working-directory: ./ops
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/boba-publish-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,23 @@ jobs:
id-token: write
contents: read
steps:
- name: Check Docker Version
run: docker --version
- name: Install Latest Docker
run: |
sudo apt-get update
sudo apt-get install -y ca-certificates curl gnupg
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
- name: Check Docker Version
run: docker --version

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM python:3.11-slim
RUN pip3 install --debug --no-cache-dir web3==5.31.4
RUN pip3 install --no-cache-dir web3==5.31.4
COPY boba_community/fraud-detector/fraud-detector.py /
COPY boba_community/fraud-detector/packages/jsonrpclib /jsonrpclib
COPY /packages/contracts/artifacts/contracts/L1/rollup/StateCommitmentChain.sol/StateCommitmentChain.json /contracts/StateCommitmentChain.json
Expand Down

0 comments on commit 69ab9c6

Please sign in to comment.