mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
ci(repo): Initial Commit
This commit is contained in:
parent
bebbbd8ecb
commit
7ce8afa7f2
1 changed files with 28 additions and 0 deletions
28
.github/workflows/repo-push.yaml
vendored
Normal file
28
.github/workflows/repo-push.yaml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
name: Publish Repo image
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- v3
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
push_to_registry:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: Build and Push Docker image to Github Packages
|
||||||
|
steps:
|
||||||
|
- name: Check out repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Login to GitHub registry
|
||||||
|
uses: docker/login-action@v1
|
||||||
|
with:
|
||||||
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
registry: docker.pkg.github.com
|
||||||
|
|
||||||
|
- name: Build and push repo
|
||||||
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
context: repo
|
||||||
|
push: true
|
||||||
|
tags: |
|
||||||
|
docker.pkg.github.com/engineer-man/piston/repo-builder
|
Loading…
Add table
Add a link
Reference in a new issue