Skip to content

Commit

Permalink
refactor: env must be applied to the job, not the step
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Nov 28, 2024
1 parent 9367936 commit 3a6eee0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
REGISTRY: ghcr.io
OWNER: starfederation
IMAGE_NAME: ${{ github.repository }}-dev
steps:
- name: Checkout the repository
uses: actions/checkout@v3
Expand All @@ -18,10 +22,6 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Image
env:
REGISTRY: ghcr.io
OWNER: starfederation
IMAGE_NAME: ${{ github.repository }}dev
uses: docker/build-push-action@v4
with:
context: ./.github
Expand Down

0 comments on commit 3a6eee0

Please sign in to comment.