mirror of
https://github.com/spaytac/orbiter.git
synced 2026-01-21 20:14:41 +00:00
Merge pull request #1 from spaytac/spaytac-patch-1
Create docker-image.yml
This commit is contained in:
commit
b8478815dd
26
.github/workflows/docker-image.yml
vendored
Normal file
26
.github/workflows/docker-image.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: Docker Image CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
|
||||
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
|
||||
Loading…
Reference in New Issue
Block a user