Created
April 20, 2020 08:18
-
-
Save busser/69e94566b7b32ec4dcf2c5e0c90d3c19 to your computer and use it in GitHub Desktop.
Sample GitHub Actions workflow
This file contains 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: Docker Image CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build the Docker image | |
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment