Skip to content

Instantly share code, notes, and snippets.

@ethomson
Last active December 13, 2019 03:52
Show Gist options
  • Save ethomson/eb722482cfd7f955f17c3231efe8804a to your computer and use it in GitHub Desktop.
Save ethomson/eb722482cfd7f955f17c3231efe8804a to your computer and use it in GitHub Desktop.
name: Publish Documentation
on:
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- run: |
VERSION=$(date +%s)
docker login -u ethomson -p ${{ secrets.SECRET_KEY }}
docker build . --file Dockerfile --tag ethomson/app:${VERSION}
docker push ethomson/app:${VERSION}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment