From 87e344602071b14b020ab543e6fce5b9368bc18e Mon Sep 17 00:00:00 2001 From: Arne Van Looveren <58698639+arne-vl@users.noreply.github.com> Date: Mon, 13 May 2024 15:58:38 +0200 Subject: [PATCH] Update docker-image.yml --- .github/workflows/docker-image.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index a9a2701..1056da5 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -15,9 +15,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Build the Docker image - run: | - docker build . --file Dockerfile --tag chicken-price-api:$(date +%s) - docker tag chicken-price-api:$(date +%s) arnevl/chicken-price-api:latest + run: docker build . --file Dockerfile --tag arnevl/chicken-price-api:latest - name: Log in to Docker Hub run: docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }} - name: Push the Docker image to Docker Hub