Skip to content

Commit

Permalink
Add a build image workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tudoramariei committed Dec 27, 2023
1 parent 0fa1560 commit d25eee5
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit d25eee5

Please sign in to comment.