Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build & Deploy (Production)

on:
push:
branches: [master]

workflow_dispatch:

env:
REGISTRY_REPO: seventv/servergo
REGISTRTY_IMAGE_NAME: seventv/servergo:${{ github.sha }}

jobs:
build:
name: Build (Production)
runs-on: self-hosted

steps:
# Checkout repository
- uses: actions/checkout@v2

# Build image
- name: Build Image
id: build_step
uses: docker/build-push-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
push: true
tags: ${{ github.sha }}
outputs: type=docker,dest=/tmp/image.tar