Files
threetwo/.github/workflows/docker-image.yml
2021-09-23 08:39:30 -07:00

28 lines
645 B
YAML

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 frishi/threetwo:$(date +%s)
- name: Action Docker Push
# You may pin to the exact commit or the version.
# uses: timzu/act-docker@8f210802215e27956d668a1a963f02ae760983fb
uses: timzu/act-docker@v0.3.4
env:
USERNAME: ${{ secrets.DOCKER_USERNAME }}
PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
TAG_NAME: "v0.0.1"