Skip to content

Commit

Permalink
rails only until we can fix path issue
Browse files Browse the repository at this point in the history
Signed-off-by: Zachery Hostens <zacheryph@gmail.com>
  • Loading branch information
zacheryph committed Jan 25, 2022
1 parent 388280a commit 0151a9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rails.yaml
Expand Up @@ -30,7 +30,7 @@ jobs:
PATHS=(${{ steps.filter.outputs.changed_files }})
for p in "${PATHS[@]}" ; do
IFS='/' read -r -a parts <<< "$p"
IMAGES+=("${parts[0]}/${parts[1]}")
IMAGES+=("${parts[1]}")
done
MATRIX=$(echo "${IMAGES[@]}" | tr ' ' '\n' | sort -u | jq -R | jq -sc '{context: .}')
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
- name: base image
uses: docker/build-push-action@v2
with:
context: ${{ matrix.context }}
context: rails/${{ matrix.context }}
platforms: linux/amd64,linux/arm64
push: true
tags: |
Expand Down
2 changes: 1 addition & 1 deletion rails/2.7/Dockerfile
@@ -1,4 +1,4 @@
FROM ruby:2.7.5-alpine@sha256:6f64f2efcb310a80f42605790b0121991f923e10ef4e8a1deaa3f3abcf2c9fd0

# Dependencies
# Dependencies-
RUN apk add --no-cache tzdata shared-mime-info libpq

0 comments on commit 0151a9f

Please sign in to comment.