Skip to content

Commit

Permalink
Fix references to mysql in postgres github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bap14 committed Feb 24, 2024
1 parent 86f01f0 commit 16bbd47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- .github/workflows/postgres.yml

jobs:
mysql:
postgres:
name: PostgreSQL
runs-on: ubuntu-latest

Expand Down Expand Up @@ -47,14 +47,14 @@ jobs:
run: |-
ESCAPED_VERSION="$(echo ${{ matrix.version }} | sed 's/\./\\\./g')"
POSTGRES_VERSION=$(
docker run --rm gcr.io/go-containerregistry/crane:v0.8.0 ls mysql \
docker run --rm gcr.io/go-containerregistry/crane:v0.8.0 ls postgres \
| egrep "^${ESCAPED_VERSION}(\.[0-9]+)?(-alpine)?\$" | sort -Vr | head -n1
)
echo "POSTGRES_VERSION=${POSTGRES_VERSION}" | tee /dev/stderr >> $GITHUB_ENV
- uses: docker/build-push-action@v3
with:
context: mysql
context: postgres
platforms: linux/amd64,linux/arm64
build-args: POSTGRES_VERSION=${{ env.POSTGRES_VERSION }}
push: ${{ github.ref == 'refs/heads/main' && !env.ACT }}
Expand Down

0 comments on commit 16bbd47

Please sign in to comment.