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 29, 2023
1 parent f779a1f commit 0305071
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +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
MONGO_URL: "mongodb://user:password@db:27017/slack_bot_dev"
IMAGE_URI: 'ghcr.io/${{ github.repository }}:${{ github.sha }}'

jobs:
build:
Expand Down Expand Up @@ -93,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"
- name: Run Rubocop
Expand Down

0 comments on commit 0305071

Please sign in to comment.