Skip to content

Commit

Permalink
Fixed docker environment
Browse files Browse the repository at this point in the history
  • Loading branch information
viktor-ferenczi committed Feb 25, 2025
1 parent cd2f1bd commit 3a26097
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:
uses: actions/checkout@v4

- name: "Build ${{matrix.target.label}}"
env:
DOCKER_HUB_TOKEN: ${{secrets.DOCKER_HUB_TOKEN}}
run: |
echo "Building ${{matrix.target.label}}"
cd "${{matrix.target.directory}}"
Expand Down Expand Up @@ -59,10 +57,11 @@ jobs:

- name: "Build and push ${{matrix.target.label}}"
env:
DOCKER_HUB_USERNAME: ${{secrets.DOCKER_HUB_USERNAME}}
DOCKER_HUB_TOKEN: ${{secrets.DOCKER_HUB_TOKEN}}
run: |
echo "Building and pushing ${{matrix.target.label}}"
cd "${{matrix.target.directory}}"
make build
echo "$DOCKER_HUB_TOKEN" | docker login -u "$DOCKER_HUB_USERNAME" --password-stdin
echo "$DOCKER_HUB_TOKEN" | docker login --username "$DOCKER_HUB_USERNAME" --password-stdin
make push

0 comments on commit 3a26097

Please sign in to comment.