Skip to content

Commit

Permalink
Setup CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tesence committed Dec 22, 2023
1 parent b650070 commit b9c533a
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build and Push image

on:
push:
branches:
- master

env:
REGISTRY: ghcr.io

jobs:

build:

runs-on: ubuntu-latest

steps:

- uses: actions/checkout@master

- name: Log in to the Container registry
uses: docker/login-action@master
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker images
uses: docker/build-push-action@master
with:
context: .
push: true
tags: ${{ env.REGISTRY }}/${{ github.repository_owner }}/gumo:latest

0 comments on commit b9c533a

Please sign in to comment.