Skip to content

Commit

Permalink
adds ephemeral cluster docker image build (#426)
Browse files Browse the repository at this point in the history
* adds ephemeral cluster docker image build

* update dockerfile name
  • Loading branch information
rach-id authored May 20, 2022
1 parent 35a71e1 commit 745bd99
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,34 @@ jobs:
push: true
tags: ghcr.io/celestiaorg/celestia-app:latest
file: Dockerfile

docker-build-ephemeral:
runs-on: "ubuntu-latest"
permissions:
contents: write
packages: write
steps:
- name: "Checkout source code"
uses: "actions/checkout@v3"
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.17
- name: "Build"
run: "make build"
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
push: true
tags: ghcr.io/celestiaorg/celestia-app-ephemeral:latest
file: docker/Dockerfile_ephemeral

0 comments on commit 745bd99

Please sign in to comment.