Skip to content

added context to build #5

added context to build

added context to build #5

Workflow file for this run

name: build
on:
push:
branches:
- main
jobs:
build:
environment: prod
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build and push to Docker Hub
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: alejoide/bcra-scraper-api
context: ./backend
dockerfile: ./backend/Dockerfile
tag_with_ref: true
tag_with_sha: true
tags: ${{ github.sha }}