markdownlint-docker/.gitea/workflows/build.yaml

32 lines
1.1 KiB
YAML
Raw Normal View History

2023-04-13 20:17:58 +00:00
name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-x86_64:
runs-on: x86_64
steps:
- name: checkout repo
uses: actions/checkout@v3
2023-04-13 20:52:33 +00:00
# - name: Install docker
# run: |
# apt-get update
# apt-get upgrade --yes
# apt-get install --yes ca-certificates curl gnupg
# install -m 0755 -d /etc/apt/keyrings
# curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
# chmod a+r /etc/apt/keyrings/docker.gpg
# echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
# apt-get update --yes
# apt-get install --yes docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
2023-04-13 20:46:18 +00:00
2023-04-13 20:45:21 +00:00
2023-04-13 20:17:58 +00:00
- name: build application
2023-05-21 11:07:08 +00:00
env:
CONTAINER_RUNTIME: podman
2023-04-13 20:52:33 +00:00
shell: bash
run: make container-image/build