Skip to content

Commit

Permalink
build: updated branch pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
chideat committed Aug 29, 2024
1 parent 04453d7 commit 7d13db3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/branch-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ jobs:
with:
platforms: linux/amd64,linux/arm64

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

- name: GitHub Login
uses: docker/login-action@v3
with:
Expand All @@ -85,5 +91,7 @@ jobs:
file: ./build/Dockerfile
context: .
push: true
tags: ghcr.io/${{ github.repository_owner }}/redis-operator:${{ env.TAG_NAME }}
tags: |
${{ secret.DOCKER_USERNAME }}/redis-operator:${{ env.TAG }}
ghcr.io/${{ github.repository_owner }}/redis-operator:${{ env.TAG_NAME }}
platforms: linux/amd64,linux/arm64

0 comments on commit 7d13db3

Please sign in to comment.