Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

Inomurko/get ready for cruncy tiger #199

Merged
merged 5 commits into from
Jul 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/omgx-publish-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,19 @@ jobs:
docker build ../ --file docker/Dockerfile.omgx_monorepo --tag omgx/omgx_builder:latest
docker build ../ --file docker/Dockerfile.omgx_deployer --tag omgx/omgx_deployer:latest
docker build ../ --file docker/Dockerfile.gas-oracle --tag omgx/gas-oracle:latest
docker build ../ --file docker/Dockerfile.omgx_message-relayer-fast --tag omgx/omgx_message-relayer-fast:latest
- name: Rename and retag the optimism images
working-directory: ./ops
run: |
for i in $(docker images --format "{{.Repository}}:{{.Tag}}" | grep omgx); do
docker image tag "$i" omgx/$(echo $i | awk -F'/' '{print $2}' | awk -F':' '{print $1}'):develop
done
for i in $(docker images --format "{{.Repository}}:{{.Tag}}" | grep ethereumoptimism); do
docker image tag "$i" omgx/$(echo $i | awk -F'/' '{print $2}' | awk -F':' '{print $1}'):latest
docker image tag "$i" omgx/$(echo $i | awk -F'/' '{print $2}' | awk -F':' '{print $1}'):develop
done
docker image tag omgx/gas-oracle:latest omgx/gas-oracle:develop
docker image tag omgx/omgx_builder:latest omgx/omgx_builder:develop
docker image tag omgx/omgx_deployer:latest omgx/omgx_deployer:develop
docker rmi $(docker images | grep 'ethereumoptimism/' | awk '{print $1}')
docker images
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/omgx-publish-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,17 @@ jobs:
id: tag
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}

- name: Print current tag
run: echo ${{ steps.tag.outputs.VERSION }}

- name: Build the services
working-directory: ./ops
run: |
echo ${{ steps.tag.outputs.VERSION }}
./scripts/build-ci.sh
docker build ../ --file docker/Dockerfile.omgx_monorepo --tag omgx/omgx_builder:${{ steps.tag.outputs.VERSION }}
docker build ../ --file docker/Dockerfile.omgx_deployer --tag omgx/omgx_deployer:${{ steps.tag.outputs.VERSION }}
docker build ../ --file docker/Dockerfile.gas-oracle --tag omgx/gas-oracle:${{ steps.tag.outputs.VERSION }}
docker build ../ --file docker/Dockerfile.omgx_message-relayer-fast --tag omgx/omgx_message-relayer-fast:${{ steps.tag.outputs.VERSION }}
- name: Rename and retag the Optimism images
working-directory: ./ops
run: |
Expand All @@ -63,6 +65,7 @@ jobs:
done
docker rmi $(docker images | grep 'ethereumoptimism/' | awk '{print $1}')
docker images
docker images | grep ${{ steps.tag.outputs.VERSION }}
- name: Rename and retag the optimism images
working-directory: ./ops
Expand Down