Skip to content

Commit

Permalink
fix(ci): misaligned env var
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyoptimist committed Oct 30, 2023
1 parent 0ae04aa commit ba22b1b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ on:
default: false

env:
GITHUB_REPOSITORY: ${{ github.repository }}
REGISTRY: ghcr.io
GITHUB_REPOSITORY: ${{ github.repository }}
TAG: ${{ github.sha }}
DOCKER_BUILDKIT: 1
COMPOSE_DOCKER_CLI_BUILD: 1
IMAGE_URI: 'ghcr.io/${{ github.repository }}:${{ github.sha }}'

jobs:
build:
Expand Down Expand Up @@ -92,8 +93,6 @@ jobs:
password: ${{ secrets.PAT }}

- name: Pull web image to prevent build
env:
IMAGE_URI: '${{ env.REGISTRY }}/${{ env.GITHUB_REPOSITORY }}:${{ env.TAG }}'
run: >-
docker pull "$IMAGE_URI"
Expand Down

0 comments on commit ba22b1b

Please sign in to comment.