Skip to content

github actions

github actions #4

Workflow file for this run

name: Build Android Docker Image and Upload Artifacts
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Depot CLI
uses: depot/setup-action@v1
- run: depot build --project 0k8767spqx --load --tag build -f Dockerfile .
env:
DEPOT_TOKEN: ${{ secrets.DEPOT_TOKEN }}
- name: Create artifact directory
run: mkdir -p artifacts
- name: Copy artifacts from container
run: docker create build:latest --name extract && docker cp extract:/out/ ./
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: output
path: out/