Skip to content

🔨 refactor: Update modules in examples #1

🔨 refactor: Update modules in examples

🔨 refactor: Update modules in examples #1

name: publish docker images indy
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push Node
uses: docker/build-push-action@v4
with:
context: ./docker-images/indy
file: ./docker-images/indy/indy-node.dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USER }}/fogbed-indy-node:${{ github.ref_name }}
- name: Build and push Cli
uses: docker/build-push-action@v4
with:
context: ./docker-images/indy
file: ./docker-images/indy/indy-cli.dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USER }}/fogbed-indy-cli:${{ github.ref_name }}
- name: Build and push Webserver
uses: docker/build-push-action@v4
with:
context: ./docker-images/indy
file: ./docker-images/indy/webserver.dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USER }}/fogbed-indy-webserver:${{ github.ref_name }}
- name: Build and push httpd
uses: docker/build-push-action@v4
with:
context: ./docker-images/indy
file: ./docker-images/indy/httpd.dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USER }}/fogbed-httpd:${{ github.ref_name }}