23 lines
710 B
YAML
23 lines
710 B
YAML
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"
|
|
- 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
|
|
run: docker push git.mixedup.dev/quik/docker-cross-compiler
|