diff --git a/.github/workflows/gaiad-linux-release.yml b/.github/workflows/gaiad-linux-release.yml index 7314f05..4d33293 100644 --- a/.github/workflows/gaiad-linux-release.yml +++ b/.github/workflows/gaiad-linux-release.yml @@ -56,6 +56,8 @@ jobs: release: ${{fromJson(needs.collect_remote_release.outputs.releases)}} permissions: write-all steps: + - name: Checkout + uses: actions/checkout@v4 - name: Set up QEMU uses: docker/setup-qemu-action@v2 - name: Log in to the Container registry @@ -64,13 +66,12 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Build and push Docker image - uses: strangelove-ventures/heighliner-build-action@v1.0.2 + - name: Build and push docker image + uses: docker/build-push-action@v6.5.0 with: - chain: gaia - tag: ${{ matrix.release }} - git-ref: ${{ matrix.release }} - github-organization: cosmos - github-repo: gaia - additional-args: "--go-version=${{ inputs.go_version }}" - heighliner-tag: v1.6.3 + context: ./docker + file: ./docker/Dockerfile + push: true + tags: "ghcr.io/hyphacoop/gaia:${{ matrix.release }}" + build-args: | + GAIA_VERSION=${{ matrix.release }} diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..16658fc --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,6 @@ +ARG GAIA_VERSION +FROM ghcr.io/cosmos/gaia:${GAIA_VERSION} as base + +USER root +RUN apk add --no-cache jq +USER nonroot