From 8b8258a76c9901b28dfb0a3d92e8b9a9b0eca6ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pere=20Gime=CC=81nez?= Date: Mon, 8 Jan 2024 21:44:14 +0100 Subject: [PATCH] image name --- .github/workflows/docker-image.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 9061021..1dbd496 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -2,22 +2,22 @@ name: Docker Image CI on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v3 - - name: Build the Docker image - run: docker build . --file Dockerfile --tag pjgim/gallery + - name: Build the Docker image + run: docker build . --file Dockerfile --tag pjgim/forecast - - name: Log in to Docker Hub - run: echo "${{ secrets.DOCKER_HUB_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_HUB_USERNAME }}" --password-stdin + - name: Log in to Docker Hub + run: echo "${{ secrets.DOCKER_HUB_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_HUB_USERNAME }}" --password-stdin - - name: Push Docker image - run: docker push pjgim/gallery + - name: Push Docker image + run: docker push pjgim/forecast