From 257b5f154faede9585d2f7aa26783ef10a885043 Mon Sep 17 00:00:00 2001 From: Bernhard Ehlers Date: Sun, 28 May 2023 17:49:57 +0200 Subject: [PATCH] Docker build: Update workflow --- .github/workflows/build-docker-images.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-docker-images.yml b/.github/workflows/build-docker-images.yml index cf678b1..fd20e7e 100644 --- a/.github/workflows/build-docker-images.yml +++ b/.github/workflows/build-docker-images.yml @@ -32,26 +32,26 @@ jobs: # https://github.com/marketplace/actions/docker-login uses: docker/login-action@v2 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} # GitHub Container Registry: # registry: ghcr.io # username: ${{ github.repository_owner }} # password: ${{ secrets.GITHUB_TOKEN }} + # # DockerHub: - # username: ${{ secrets.DOCKERHUB_USERNAME }} - # password: ${{ secrets.DOCKERHUB_TOKEN }} + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Install python requirements run: python3 -m pip install --requirement .github/bin/requirements.txt - name: Build and push images env: - DOCKER_ACCOUNT: ${{ secrets.DOCKERHUB_USERNAME }} # DOCKER_PASSWORD is optional, only needed for private repositories + # # GitHub Container Registry: # DOCKER_ACCOUNT: ghcr.io/${{ github.repository_owner }} # DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }} + # # DockerHub: - # DOCKER_ACCOUNT: ${{ secrets.DOCKERHUB_USERNAME }} + DOCKER_ACCOUNT: ${{ secrets.DOCKERHUB_USERNAME }} # DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }} # IMAGES: ${{ inputs.images }}