mirror of
https://github.com/spaytac/orbiter.git
synced 2026-01-21 21:54:50 +00:00
27 lines
629 B
YAML
27 lines
629 B
YAML
name: Docker Image CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
push-store-image:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: 'Checkout GitHub Action'
|
|
uses: actions/checkout@main
|
|
|
|
- name: 'Login to GitHub Container Registry'
|
|
uses: docker/login-action@v1
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{github.actor}}
|
|
password: ${{secrets.GITHUB_TOKEN}}
|
|
|
|
- name: 'Build Orbiter Image'
|
|
run: |
|
|
docker build -f ./Dockerfile --tag ghcr.io/spaytac/orbiter:latest .
|
|
docker push ghcr.io/spaytac/orbiter:latest
|