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
|
2024-03-19 16:42:11 +01:00
|
|
|
- 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
|
2024-03-19 16:42:11 +01:00
|
|
|
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
|