Skip to content

Merge pull request #13 from 4l3j0Ok/hide-mongo-id #32

Merge pull request #13 from 4l3j0Ok/hide-mongo-id

Merge pull request #13 from 4l3j0Ok/hide-mongo-id #32

Workflow file for this run

name: build
on:
push:
tags:
- "v*"
jobs:
build:
name: Build and push
runs-on: self-hosted
environment: 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=semver,pattern={{version}}
images: |
alejoide/bcra-scraper-api
-
name: Build and push to Docker Hub
uses: docker/build-push-action@v5
with:
context: ./src
tags: ${{ steps.meta.outputs.tags }}
push: true