Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #277 from meower-media-co/develop
Browse files Browse the repository at this point in the history
Merge develop
  • Loading branch information
tnix100 authored Aug 13, 2024
2 parents 9b73040 + 3578252 commit 32274b6
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/build-and-push-main.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/publish-ghcr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish to GHCR.io

on:
push:
branches: [ "*" ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to GHCR.io
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Build and push images
run: |
IMAGE_NAME=ghcr.io/${{ github.repository }}
docker buildx build --push -t $IMAGE_NAME:${{ github.sha }} .
24 changes: 24 additions & 0 deletions .github/workflows/publish-latest-ghcr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish latest to GHCR.io

on:
push:
branches: [ "main" ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to GHCR.io
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Build and push images
run: |
IMAGE_NAME=ghcr.io/${{ github.repository }}
docker buildx build --push -t $IMAGE_NAME:latest .

0 comments on commit 32274b6

Please sign in to comment.