Files
starter-workflows/ci/docker-image.yml
Christopher Schleiden abf7f258d1 Use $default-branch token
2020-07-13 12:12:41 -07:00

19 lines
319 B
YAML

name: Docker Image CI
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
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)