This repository has been archived by the owner on Nov 20, 2023. It is now read-only.
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push Cardano Node | |
uses: docker/build-push-action@v4 | |
with: | |
push: true | |
file: Dockerfile.node | |
tags: emurgornd/cardano-node:latest,emurgornd/cardano-node:${{ github.ref_name }} | |
- name: Build and push Cardano Submit API | |
uses: docker/build-push-action@v4 | |
with: | |
push: true | |
file: Dockerfile.submitapi | |
tags: emurgornd/cardano-submit-api:latest,emurgornd/cardano-node:${{ github.ref_name }} |