Last active
August 3, 2024 02:36
-
-
Save ethomson/eb722482cfd7f955f17c3231efe8804a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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