Skip to content

Commit

Permalink
Create dockerimage.yaml
Browse files Browse the repository at this point in the history
Initial push of a github action to build project docker containers
  • Loading branch information
derkkila authored May 21, 2020
1 parent 9c8d2bd commit 9e76990
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Docker Image CI

on:
release:
branches: [ master ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Build the admin_frontend Docker image
run: docker build admin_frontend/Dockerfile --file Dockerfile --tag derkkila/admin_frontend:$(date +%s)
- name: Push admin_frontend to Dockerhub
run: docker push derkkila/admin_frontend:$(date +%s)

0 comments on commit 9e76990

Please sign in to comment.