Skip to content

heartbeat timestamp #157

heartbeat timestamp

heartbeat timestamp #157

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
# on:
# pull_request:
jobs:
publish-apollo:
name: Publish apollo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Docker login
uses: docker/login-action@v1
with:
username: ${{ secrets.QUAY_IO_BOT_USERNAME }}
password: ${{ secrets.QUAY_IO_BOT_PASSWORD }}
registry: quay.io
- uses: benjlevesque/[email protected]
id: short-sha
with:
length: 7
- uses: olegtarasov/[email protected]
id: tag-name
- name: Build and push
uses: docker/build-push-action@v2
with:
file: apollo/Dockerfile
push: true
tags: |
quay.io/helix-bridge/apollo:sha-${{ steps.short-sha.outputs.sha }}
quay.io/helix-bridge/apollo:${{ steps.tag-name.outputs.tag }}