diff --git a/.github/workflows/gaiad-linux-release.yml b/.github/workflows/gaiad-linux-release.yml index 7314f05..e1c6a35 100644 --- a/.github/workflows/gaiad-linux-release.yml +++ b/.github/workflows/gaiad-linux-release.yml @@ -64,13 +64,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: 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