cosmos-sdk/.github/workflows/docker.yml
Marko dfa0642fdc
docker: fix version cmd (#6947)
* ttempt to debug docker image

* describe

* force depth

* fix simd version

* test fetch tags

* undo test

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-08-05 15:38:07 +00:00

25 lines
792 B
YAML

name: Nightly Builds
# Nightly Builds rebuilds the simapp docker image Monday - Friday at midnight
# and pushes the image to https://hub.docker.com/r/interchainio/simapp/tags
on:
schedule:
- cron: "0 0 * * 1-5" # deploy at midnight Monday - Friday
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Publish to Docker Hub
uses: docker/build-push-action@v1.1.0
with:
repository: interchainio/simapp
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tags: nightly-${{ steps.date.outputs.date }}