docker-cross-compiler/.gitea/workflows/build.yaml

23 lines
711 B
YAML
Raw Normal View History

2024-03-19 16:17:44 +01:00
name: Build
run-name: Building docker container.
on:
push:
branches: stable
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Update Package Repository.
run: apt update -y
- name: Gather dependencies.
run: apt install -y docker.io
- name: Log into Docker registry.
run: "echo ${{secrets.QUIK_API_KEY}} > docker login -u themixedupstuff --password-stdin git.mixedup.dev"
2024-03-19 16:17:44 +01:00
- name: Check repository out.
uses: actions/checkout@v3
- name: Build Docker Image
run: docker build -t git.mixedup.dev/QUIK/docker-cross-compiler .
- name: Upload Docker Image
name: docker push git.mixedup.dev/QUIK/docker-cross-compiler