Skip to content

Commit

Permalink
Add new github actions workflow for panel-app (#69)
Browse files Browse the repository at this point in the history
* Create new Dockerfile to build and deploy app panel v2.1

* Optimize dockerfile

* Add new dockerignore file

* Add new github actions workflow

* Update ci.yaml - insert blank lines as requested

* update ci.yaml insert blank line as requested
  • Loading branch information
sysxtreme authored Aug 9, 2024
1 parent 57e847e commit 9285b2c
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on: [push]

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Log in to the Container registry
uses: docker/[email protected]
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/[email protected]
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
uses: docker/[email protected]
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 9285b2c

Please sign in to comment.