Skip to content

FIX: conflict between reconcile and heatbeat. #111

FIX: conflict between reconcile and heatbeat.

FIX: conflict between reconcile and heatbeat. #111

Workflow file for this run

name: Push workflow
on: push
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.17'
- name: Run build
run: make build-bin
- name: upload artifact of build output
uses: actions/upload-artifact@v2
with:
name: mesos-compose
path: ./mesos-compose
release:
name: Publish new release
needs: build
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Download build artifact
uses: actions/download-artifact@v2
with:
name: mesos-compose
path: .
- name: Create release archive
run: tar -czvf release.tar.gz mesos-compose README.md LICENSE
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push Image
run: make build publish