Skip to content

Commit

Permalink
set context using path and checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
jburel committed Mar 16, 2022
1 parent bd6e438 commit 2147e6b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,15 @@ jobs:
env:
name: jburel/omero-web-standalone
nameParent: jburel/omero-web:latest
folder: standalone
steps:
- uses: actions/checkout@v2
- name: Get other tags
id: gettags
uses: jupyterhub/[email protected]
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
prefix: "${{ env.name}}:"
prefix: "${{ env.name }}:"
- name: Login to DockerHub
uses: docker/login-action@v1
with:
Expand All @@ -61,6 +63,8 @@ jobs:
- name: Push to Docker Hub
uses: docker/build-push-action@v2
with:
build-args: "PARENT_IMAGE=${{ env.nameParent }}"
build-args: |
"PARENT_IMAGE=${{ env.nameParent }}"
context: ${{ env.folder }}
tags: ${{ join(fromJson(steps.gettags.outputs.tags)) }}
push: true

0 comments on commit 2147e6b

Please sign in to comment.