add github action pipeline
This commit is contained in:
16
.github/workflows/publish.yml
vendored
Normal file
16
.github/workflows/publish.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
name: publish.yml
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout
|
||||||
|
- name: Build and push Docker image
|
||||||
|
id: push
|
||||||
|
uses: docker/build-push-action
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: docker.io/tikaiz/website-frontend:latest
|
||||||
Reference in New Issue
Block a user