Skip to content

Commit

Permalink
added github action to build and push to docker
Browse files Browse the repository at this point in the history
  • Loading branch information
4l3j0Ok committed Nov 29, 2023
1 parent 2e09a26 commit 3a2de57
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: build
on:
push:
branches:
- main
jobs:
build:
runs-on: ${{ secrets.RUNNER }}
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
tag_with_ref: true
tag_with_sha: true
tags: ${{ github.sha }}

0 comments on commit 3a2de57

Please sign in to comment.