Skip to content

Commit

Permalink
set working directory
Browse files Browse the repository at this point in the history
added config to set working directory
  • Loading branch information
derkkila authored May 21, 2020
1 parent 1b6518f commit 8166774
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@ on:

jobs:

build:

admin_frontend:
runs-on: ubuntu-latest

defaults:
run:
shell: bash
working-directory: /home/runner/work/buttercup_store/buttercup_store/admin_frontend

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

0 comments on commit 8166774

Please sign in to comment.