Skip to content

Commit

Permalink
Use env variable instead of hard coding twice
Browse files Browse the repository at this point in the history
  • Loading branch information
mtneug committed Jun 14, 2024
1 parent 711bd2d commit 3e4697c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: set up Docker buildx
uses: docker/setup-buildx-action@v2
with:
platforms: linux/amd64,linux/arm64
platforms: ${{ env.DOCKER_BUILDX_PLATFORM }}

- uses: docker/login-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: set up Docker buildx
uses: docker/setup-buildx-action@v2
with:
platforms: linux/amd64,linux/arm64
platforms: ${{ env.DOCKER_BUILDX_PLATFORM }}

- name: info
run: |
Expand Down

0 comments on commit 3e4697c

Please sign in to comment.