parent
ceebed25a0
commit
fc500c5605
@ -12,18 +12,19 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: checkout repo
|
- name: checkout repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install docker
|
# - name: Install docker
|
||||||
run: |
|
# run: |
|
||||||
apt-get update
|
# apt-get update
|
||||||
apt-get upgrade --yes
|
# apt-get upgrade --yes
|
||||||
apt-get install --yes ca-certificates curl gnupg
|
# apt-get install --yes ca-certificates curl gnupg
|
||||||
install -m 0755 -d /etc/apt/keyrings
|
# install -m 0755 -d /etc/apt/keyrings
|
||||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
# 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
|
# 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
|
# 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 update --yes
|
||||||
apt-get install --yes docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
# apt-get install --yes docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||||
|
|
||||||
|
|
||||||
- name: build application
|
- name: build application
|
||||||
run: make container-image/build CONTAINER_RUNTIME=docker
|
shell: bash
|
||||||
|
run: make container-image/build
|
Loading…
Reference in New Issue
Block a user