Skip to content

Commit

Permalink
remove pushing to dockerhub
Browse files Browse the repository at this point in the history
  • Loading branch information
jwijffels committed May 22, 2024
1 parent e05140e commit 676540e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GHCR (GitHub Packages)
uses: docker/login-action@v2
with:
Expand All @@ -46,12 +40,3 @@ jobs:
push: true
tags: "ghcr.io/bnosac/${{ matrix.config.tag }}:latest"
file: ${{ matrix.config.dockerfile }}

- name: Build and push Dockerhub
uses: docker/build-push-action@v5
with:
context: ${{ matrix.config.context }}
push: true
tags: "bnosac/${{ matrix.config.tag }}:latest"
file: ${{ matrix.config.dockerfile }}

0 comments on commit 676540e

Please sign in to comment.