Skip to content

Commit

Permalink
image name
Browse files Browse the repository at this point in the history
  • Loading branch information
PGimenez committed Jan 8, 2024
1 parent 1064056 commit 8b8258a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8b8258a

Please sign in to comment.