diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 02e1bcbf..c87cbd28 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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/action-major-minor-tag-calculator@v2.0.0 with: githubToken: ${{ secrets.GITHUB_TOKEN }} - prefix: "${{ env.name}}:" + prefix: "${{ env.name }}:" - name: Login to DockerHub uses: docker/login-action@v1 with: @@ -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