Skip to content

Commit

Permalink
DO NOT MERGE
Browse files Browse the repository at this point in the history
  • Loading branch information
COLDTURNIP committed Feb 7, 2025
1 parent 9b5d696 commit cf6de0f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,21 +85,21 @@ jobs:
name: Build and push image
runs-on: ubuntu-latest
needs: build
if: ${{ startsWith(github.ref, 'refs/heads/') || startsWith(github.ref, 'refs/tags/') }}
#if: ${{ startsWith(github.ref, 'refs/heads/') || startsWith(github.ref, 'refs/tags/') }}
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
#- name: Login to Docker Hub
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}

# longhornio/longhorn-cli image
- name: Build and publish image
env:
REPO: docker.io/longhornio
REPO: invalid.registry
TAG: ${{ needs.build.outputs.image_tag }}
TARGET_PLATFORMS: linux/amd64,linux/arm64
run: make workflow-image-build-push

0 comments on commit cf6de0f

Please sign in to comment.