Skip to content

(NOBIDS) frontend: handle stripe-promo-code for when it does not apply #39

(NOBIDS) frontend: handle stripe-promo-code for when it does not apply

(NOBIDS) frontend: handle stripe-promo-code for when it does not apply #39

name: Publish Docker images
on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- publish-docker
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- id: pre-step
shell: bash
run: echo "release-version=$(TZ=UTC0 git show --quiet --date='format-local:%Y%m%d%H%M%S' --format="%cd" $GITHUB_SHA)-$(git describe $GITHUB_SHA --always --tags)" >> $GITHUB_OUTPUT
- name: Publish to Dockerhub Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: gobitfly/eth2-beaconchain-explorer
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "${{ steps.pre-step.outputs.release-version }}"