forked from Job79/devcontainer
This commit is contained in:
48
.gitea/workflows/other.yaml
Normal file
48
.gitea/workflows/other.yaml
Normal file
@@ -0,0 +1,48 @@
|
||||
name: Build optional dev containers
|
||||
on:
|
||||
workflow_dispatch: # This makes the workflow manually triggered
|
||||
|
||||
jobs:
|
||||
fedora-build:
|
||||
runs-on: job-latest
|
||||
steps:
|
||||
- name: Clone repo
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Login to Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.plabble.org
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
- name: Build and push Rider container
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./containers/rider
|
||||
file: ./containers/rider/Containerfile
|
||||
push: true
|
||||
tags: git.plabble.org/maurice/rider:${{ github.ref_name }}
|
||||
build-args: TAG=${{ github.ref_name }}
|
||||
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
|
||||
|
||||
- name: Build and push Android Studio container
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./containers/android
|
||||
file: ./containers/android/Containerfile
|
||||
push: true
|
||||
tags: git.plabble.org/maurice/android:${{ github.ref_name }}
|
||||
build-args: TAG=${{ github.ref_name }}
|
||||
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
|
||||
|
||||
- name: Build and push Flutter container
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./containers/flutter
|
||||
file: ./containers/flutter/Containerfile
|
||||
push: true
|
||||
tags: git.plabble.org/maurice/flutter:${{ github.ref_name }}
|
||||
build-args: TAG=${{ github.ref_name }}
|
||||
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
|
||||
Reference in New Issue
Block a user