We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e086708 commit a2c6b12Copy full SHA for a2c6b12
.github/workflows/test.yml
@@ -66,6 +66,10 @@ jobs:
66
echo "result<<EOF" >> $GITHUB_OUTPUT
67
echo "$ARGS" >> $GITHUB_OUTPUT
68
echo "EOF" >> $GITHUB_OUTPUT
69
+ - name: Strip quotes from pg major and set env var
70
+ run: |
71
+ stripped_version=$(echo ${{ matrix.postgres_version }} | sed 's/^"\(.*\)"$/\1/')
72
+ echo "PGMAJOR=$stripped_version" >> $GITHUB_ENV
73
74
- run: docker context create builders
75
- uses: docker/setup-buildx-action@v3
@@ -75,7 +79,7 @@ jobs:
79
with:
76
80
load: true
77
81
context: .
78
- file: ${{ format('Dockerfile-{0}', matrix.postgres_version) }}
82
+ file: Dockerfile-${{ env.STRIPPED_VERSION }}
83
target: production
84
build-args: |
85
${{ steps.args.outputs.result }}
0 commit comments