diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml new file mode 100644 index 00000000..b0b0df6b --- /dev/null +++ b/.github/workflows/build-image.yml @@ -0,0 +1,20 @@ +name: Build and push image to registry + +on: + push: + branches: + - main + tags: + - v* + +jobs: + build: + uses: code4romania/.github/.github/workflows/build-push-image.yml@main + with: + images: ghcr.io/code4romania/redirectioneaza + registry: ghcr.io + context: ./ + dockerfile: ./docker/dockerfiles/Dockerfile + secrets: + username: ${{ github.actor }} + token: ${{ secrets.GITHUB_TOKEN }}