diff --git a/.github/workflows/gaiad-linux-release.yml b/.github/workflows/gaiad-linux-release.yml index 7314f05..9b5ffcb 100644 --- a/.github/workflows/gaiad-linux-release.yml +++ b/.github/workflows/gaiad-linux-release.yml @@ -64,6 +64,15 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Build and push docker image + uses: docker/build-push-action@v6.5.0 + with: + context: docker + file: Dockerfile + push: true + tags: "ghcr.io/hyphacoop/gaia:${{ matrix.release }}" + build-args: | + GAIA_VERSION=${{ matrix.release }} - name: Build and push Docker image uses: strangelove-ventures/heighliner-build-action@v1.0.2 with: 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