Skip to content

Commit

Permalink
Fix GHA buildx file path (#987)
Browse files Browse the repository at this point in the history
* Fix GHA buildx file path

* Try defaultContext handlebars

* Update devcore build step

---------

Co-authored-by: Laura Mosher <lauramosher@users.noreply.github.com>
  • Loading branch information
lauramosher and lauramosher committed Jan 9, 2024
1 parent 0ff5f5d commit c59ca7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/on-merge-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: "{{defaultContext}}/rails/Dockerfile"
context: "{{defaultContext}}"
file: ./rails/Dockerfile
target: devcore
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: "{{defaultContext}}/rails/Dockerfile"
context: "{{defaultContext}}"
file: ./rails/Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: |
Expand Down
1 change: 0 additions & 1 deletion rails/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ RUN apk --no-cache add --update \
imagemagick \
ffmpeg \
poppler && \
gem update --system --no-document && \
gem install bundler --no-document --force -v '~> 2.4.7'

WORKDIR /tmp
Expand Down

0 comments on commit c59ca7a

Please sign in to comment.