Skip to content

[feature-swarm-docker-build] fix #2

[feature-swarm-docker-build] fix

[feature-swarm-docker-build] fix #2

name: release
on:
push:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.goose
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/sgroups.goose:${{ github.head_ref || github.ref_name }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.sgroups
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/sgroups:${{ github.head_ref || github.ref_name }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.terraform
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/sgroups.terraform:${{ github.head_ref || github.ref_name }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.to-nft
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/sgroups.to-nft:${{ github.head_ref || github.ref_name }}