Skip to content

Commit

Permalink
sed buildx to log in to harbor
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertoChiosa committed Nov 14, 2023
1 parent 8ac995f commit ee59ecf
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,21 @@ on:
- 'main'

jobs:
docker:
build:
name: Build and Push
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Harbor
uses: docker/login-action@v2
with:
registry: https://${{ secrets.HARBOR_REGISTRY_URL }}
username: ${{ secrets.HARBOR_REGISTRY_USERNAME }}
password: ${{ secrets.HARBOR_REGISTRY_PASSWORD }}
# - name: Login to Harbor
# uses: docker/login-action@v2
# with:
# registry: https://${{ secrets.HARBOR_REGISTRY_URL }}
# username: ${{ secrets.HARBOR_REGISTRY_USERNAME }}
# password: ${{ secrets.HARBOR_REGISTRY_PASSWORD }}

# - name: Login to Docker Hub
# uses: docker/login-action@v3
# with:
Expand Down

0 comments on commit ee59ecf

Please sign in to comment.