Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
m4dm4rtig4n committed Jan 26, 2024
1 parent a9f4c6c commit 78250d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_push_docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
username: m4dm4rtig4n
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Discord notification building state
env:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/deploy_prerelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ jobs:
else
echo "build=true" >> "$GITHUB_OUTPUT"
fi
echo "IMAGE_REPO=${IMAGE_REPO}" >> "$GITHUB_OUTPUT"
echo "IMAGE_NAME=${IMAGE_NAME}" >> "$GITHUB_OUTPUT"
outputs:
version: ${{ steps.informations.outputs.version }}
build: ${{ steps.informations.outputs.build }}
IMAGE_REPO: ${{ steps.informations.outputs.IMAGE_REPO }}
IMAGE_NAME: ${{ steps.informations.outputs.IMAGE_NAME }}

# Discord-Begin:
Expand All @@ -57,13 +59,13 @@ jobs:
if: ${{ needs.informations.outputs.build == 'true' }}
uses: MyElectricalData/.github/.github/workflows/dockerhub-build-push.yaml@main
with:
IMAGE_REPO: ${{ needs.informations.outputs.IMAGE_REPO }}
IMAGE_NAME: ${{ needs.informations.outputs.IMAGE_NAME }}
PUSH: true
TAG: ${{ needs.informations.outputs.version }}
PLATFORM: "linux/amd64, linux/arm64, linux/arm/v6, linux/arm/v7"
LATEST: false
secrets:
IMAGE_REPO: ${{ secrets.IMAGE_REPO }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
username: ${IMAGE_REPO}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Generate release version
Expand Down

0 comments on commit 78250d8

Please sign in to comment.