Skip to content

fix: checking the actions #3

fix: checking the actions

fix: checking the actions #3

Workflow file for this run

name: release binaries on tag
on:
push:
tags:
## regex to check major, minor and patch versions of tag along with alpha/beta ending in tag
- 'v[0-9]+\.[0-9]+(\.[0-9]+)?(-[a-zA-Z0-9]+)?'
branches:
- master
# added for testing the action will be removed once finalised
- feature/*
jobs:
build:
uses: ./.github/workflows/rust_build.yml
publish:
runs-on: ubuntu-latest
needs: build
if: needs.build.result == 'success'
steps:
- name: Checkout the repo
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.AMN_PAT }}
# - name: Build the chronos Docker image
# run: |
# docker build -f Dockerfile.chronos . --tag ghcr.io/kindredgroup/chronos:latest
# docker push ghcr.io/kindredgroup/chronos:latest
- name: Build the chronos Docker image
run:
echo running on branch ${GITHUB_REF}
# run: |
# docker build -f Dockerfile.chronos-pg-migration . --tag ghcr.io/kindredgroup/chronos-pg-migration:latest
# docker push ghcr.io/kindredgroup/chronos:latest