Skip to content

Commit

Permalink
Docker login step
Browse files Browse the repository at this point in the history
  • Loading branch information
4l3j0Ok committed Nov 29, 2023
1 parent c7ca7cd commit b911be2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build and push to Docker Hub
uses: docker/build-push-action@v5
- name: Docker login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push to Docker Hub
uses: docker/build-push-action@v5
with:
context: ./backend
repository: alejoide/bcra-scraper-api
tag_with_ref: true
tag_with_sha: true
tags: ${{ github.sha }}
push: true

0 comments on commit b911be2

Please sign in to comment.