Skip to content

Commit

Permalink
feat: add docker release
Browse files Browse the repository at this point in the history
  • Loading branch information
JeancarloBarrios committed Oct 18, 2023
1 parent 7b21115 commit 6aca746
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,34 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMET_VERSION: ${{ env.COMET_VERSION }}
COMET_VERSION: ${{ env.COMET_VERSION }}

build_psuh_node_image:
name: Build and Push Docker Image to GHCR
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/sedaprotocol/node

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./dockers/seda-node.Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 6aca746

Please sign in to comment.