Skip to content

.github/workflows/base-image.yml #8

.github/workflows/base-image.yml

.github/workflows/base-image.yml #8

Workflow file for this run

# build a docker image with android build tooling
on:
workflow_dispatch:
inputs:
image:
default: ghcr.io/viam-labs/rdk-apk
tag:
default: latest
jobs:
base-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- id: meta
uses: docker/metadata-action@v5
with:
images: ${{ inputs.image }}
- uses: docker/build-push-action@v5
with:
context: .
push: true
tags: latest
labels: ${{ steps.meta.outputs.labels }}