From 698a47d6c9d306a8504a82cf21d45f0dcccbeffc Mon Sep 17 00:00:00 2001 From: Carl Meijer Date: Sat, 27 Apr 2024 09:47:40 +0200 Subject: [PATCH] Log into DockerHub. --- .github/workflows/build-containers.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-containers.yaml b/.github/workflows/build-containers.yaml index 152a04e..4b8722e 100644 --- a/.github/workflows/build-containers.yaml +++ b/.github/workflows/build-containers.yaml @@ -4,11 +4,14 @@ on: jobs: build-job: - name: Build Job + name: 'Build Job' runs-on: ubuntu-latest steps: - - name: 'Start build job' - run: | - echo "Starting the build job." - name: 'Checkout' uses: actions/checkout@v4 + - name: 'Log in to Docker Hub' + uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a + with: + username: ${{ secrets.DOCKERHUB_NAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} +