Migrate image to new repo

This commit is contained in:
2025-06-05 17:12:13 +02:00
commit 92748d87dc
5 changed files with 837 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
name: Build and Push Docker Image
on:
workflow_dispatch:
env:
IMAGE_NAME: arlind/skins
jobs:
build_and_push:
name: Build and Push Docker Image
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Git LFS
run: sudo apt-get update && sudo apt-get install -y git-lfs
- name: Pull Git LFS files
run: git lfs pull
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: ${{ secrets.CONTAINER_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.TOKEN }}
- name: Build and Push Docker image
run: |
docker build -t ${{ secrets.CONTAINER_REGISTRY }}/$IMAGE_NAME:latest .
docker push ${{ secrets.CONTAINER_REGISTRY }}/$IMAGE_NAME:latest