Skip to content

fix(devnet): readd init script to devnet images #1657

fix(devnet): readd init script to devnet images

fix(devnet): readd init script to devnet images #1657

Workflow file for this run

name: Fadroma (Docker)
on: [push]
jobs:
build-builder:
if: "!startsWith(github.ref, 'refs/tags/v')"
name: build the build container image
runs-on: ubuntu-latest
steps:
- { uses: actions/checkout@v4, with: { submodules: recursive } }
- { id: buildx, name: Set up Docker Buildx, uses: docker/setup-buildx-action@v1 }
- name: Login to Github Packages
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: echo "IMAGE_TAG=$(tr '/' '_' <<< ${{ github.ref_name }} | tr '@' '_')" >> $GITHUB_ENV
- uses: docker/build-push-action@v4
with:
context: .
tags: ghcr.io/hackbg/fadroma:${{ env.IMAGE_TAG }}
push: true
- run: echo ${{ steps.docker_build.outputs.digest }}
build-devnet-scrt:
if: "!startsWith(github.ref, 'refs/tags/v')"
name: build the devnet container images
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with: { submodules: recursive }
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Login to Github Packages
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: echo "IMAGE_TAG=$(tr '/' '_' <<< ${{ github.ref_name }} | tr '@' '_')" >> $GITHUB_ENV
- uses: docker/build-push-action@v4
with:
context: ./devnets
file: devnets/scrt_1_9.Dockerfile
tags: ghcr.io/hackbg/fadroma-devnet-scrt-1.9:${{ env.IMAGE_TAG }}
push: true
build-devnet-okp4:
if: "!startsWith(github.ref, 'refs/tags/v')"
name: build the devnet container images
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with: { submodules: recursive }
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Login to Github Packages
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: echo "IMAGE_TAG=$(tr '/' '_' <<< ${{ github.ref_name }} | tr '@' '_')" >> $GITHUB_ENV
- uses: docker/build-push-action@v4
with:
context: ./devnets
file: devnets/okp4_5_0.Dockerfile
tags: ghcr.io/hackbg/fadroma-devnet-okp4-5.0:${{ env.IMAGE_TAG }}
push: true
#- uses: docker/build-push-action@v4
#with:
#context: ./devnets
#file: devnets/scrt_1_8.Dockerfile
#tags: ghcr.io/hackbg/fadroma-devnet-scrt-1.8:${{ env.IMAGE_TAG }}
#push: true
#- uses: docker/build-push-action@v4
#with:
#context: ./devnets
#file: devnets/scrt_1_7.Dockerfile
#tags: ghcr.io/hackbg/fadroma-devnet-scrt-1.7:${{ env.IMAGE_TAG }}
#push: true
#- uses: docker/build-push-action@v4
#with:
#context: ./devnets
#file: devnets/scrt_1_6.Dockerfile
#tags: ghcr.io/hackbg/fadroma-devnet-scrt-1.6:${{ env.IMAGE_TAG }}
#push: true