Skip to content

removed needs statement #19

removed needs statement

removed needs statement #19

Workflow file for this run

name: build
on:
push:
tags:
- "v*"
jobs:
build:
environment: prod
runs-on: prod
steps:
-
name: Checkout
uses: actions/checkout@master
-
name: Docker login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
-
name: Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
images: |
alejoide/bcra-scraper-api
-
name: Build and push to Docker Hub
uses: docker/build-push-action@v5
with:
context: ./backend
tags: ${{ steps.meta.outputs.tags }}
push: true