27 lines
842 B
YAML
27 lines
842 B
YAML
name: Build WASM Base Docker Image
|
|
|
|
on:
|
|
push:
|
|
branches: [disabled]
|
|
# branches: [main]
|
|
# paths:
|
|
# - ".gitea/workflows/wasm-docker.yaml"
|
|
# - "wasm-base.dockerfile"
|
|
|
|
jobs:
|
|
wasm-docker:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
- name: Login to container registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: gitea.vps.chriphost.de
|
|
username: ${{ secrets.CONTAINER_REGISTRY_USER }}
|
|
password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
|
|
- name: Build WASM Base Docker Image
|
|
run: docker build --file wasm-base.dockerfile --tag gitea.vps.chriphost.de/christoph/wasm-base:latest .
|
|
- name: Push WASM Base Docker Image
|
|
run: docker push gitea.vps.chriphost.de/christoph/wasm-base:latest
|