update docker used for building: catthehacker/ubuntu:act-latest instead of debian:stable-slim
docker / docker (push) Successful in 3m32s
docker / docker (push) Successful in 3m32s
This commit is contained in:
+16
-15
@@ -10,21 +10,22 @@ jobs:
|
|||||||
docker:
|
docker:
|
||||||
#runs-on: ubuntu-latest
|
#runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: debian:stable-slim
|
image: catthehacker/ubuntu:act-latest
|
||||||
|
#image: debian:stable-slim
|
||||||
steps:
|
steps:
|
||||||
- name: install prerequisites
|
# - name: install prerequisites
|
||||||
run: |
|
# run: |
|
||||||
apt update
|
# apt update
|
||||||
apt install -yq nodejs git curl
|
# apt install -yq nodejs git curl
|
||||||
|
#
|
||||||
- name: manually install docker-ce-cli
|
# - name: manually install docker-ce-cli
|
||||||
run: |
|
# run: |
|
||||||
install -m 0755 -d /etc/apt/keyrings
|
# install -m 0755 -d /etc/apt/keyrings
|
||||||
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
|
# curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
|
||||||
chmod a+r /etc/apt/keyrings/docker.asc
|
# chmod a+r /etc/apt/keyrings/docker.asc
|
||||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian $(. /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.asc] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||||
apt update
|
# apt update
|
||||||
apt install -yq docker-ce-cli
|
# apt install -yq docker-ce-cli
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
# with:
|
# with:
|
||||||
@@ -33,7 +34,7 @@ jobs:
|
|||||||
# token: ${{ secrets.DOCKER_API_TOKEN }}
|
# token: ${{ secrets.DOCKER_API_TOKEN }}
|
||||||
# #fetch-depth: 0
|
# #fetch-depth: 0
|
||||||
|
|
||||||
#- uses: docker/setup-buildx-action@v3
|
- uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- uses: docker/login-action@v3
|
- uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user