Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create docker build GH action #179

Merged
merged 6 commits into from
Jan 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "docker-build"

on:
push:
branches:
- "master"
workflow_dispatch:

jobs:
docker-build:
runs-on: "ubuntu-latest"
permissions:
contents: write
packages: write
steps:
- name: "Checkout source code"
uses: "actions/checkout@v2"
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: "Build"
run: "make build"
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GHCR
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
push: true
tags: ghcr.io/celestiaorg/celestia-app:latest
file: docker/Dockerfile
5 changes: 3 additions & 2 deletions .github/workflows/linkchecker.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Check Markdown links
on:
schedule:
- cron: '* */24 * * *'
# schedule:
# - cron: '* */24 * * *'
workflow_dispatch:
jobs:
markdown-link-check:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG-PENDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Month, DD, YYYY

### FEATURES

- [go package] (Link to PR) Description @username
- [GH Action] Create docker-build GH Action

### IMPROVEMENTS

Expand Down