Skip to content

Commit

Permalink
chore(build): restore use of 'file' instead of context
Browse files Browse the repository at this point in the history
  • Loading branch information
o-orand committed Mar 13, 2024
1 parent 58f5868 commit c78dd9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
workflow_dispatch:

env:
DOCKER_FILE_PATH: dockerfiles/alpine
DOCKER_FILE_PATH: ./dockerfiles/alpine/Dockerfile
IMAGE: "ghcr.io/${{ github.repository }}"
DOCKERHUB_ORG: elpaasoci

Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
name: publish concourse-pipeline-resource standard image
uses: docker/build-push-action@v5.1.0
with:
context: ${{env.DOCKER_FILE_PATH}}
file: ${{env.DOCKER_FILE_PATH}}
push: true
tags: |
${{env.DOCKERHUB_ORG}}/${{env.OCI_IMAGE}}:latest
Expand All @@ -59,7 +59,7 @@ jobs:
uses: docker/build-push-action@v5.1.0
with:
push: true
context: ${{ env.DOCKER_FILE_PATH }}
file: ${{ env.DOCKER_FILE_PATH }}
tags: |
${{env.DOCKERHUB_ORG}}/${{env.OCI_IMAGE}}:${{github.ref_name}}
${{env.IMAGE}}:${{github.ref_name}}

0 comments on commit c78dd9b

Please sign in to comment.