Compare commits

..

No commits in common. "419d03fa436cd47c135d934cfcf23ff72b79c592" and "290b2765d3659ade363019c57d47fb4ede80b596" have entirely different histories.

3 changed files with 8 additions and 9 deletions

View File

@ -4,7 +4,7 @@ name: CI
on: on:
push: push:
branches: branches:
- 'main' - 'master'
jobs: jobs:
docker: docker:
@ -12,16 +12,16 @@ jobs:
steps: steps:
- -
name: Set up Docker Buildx name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v1
- -
name: Login to DockerHub name: Login to DockerHub
uses: docker/login-action@v2 uses: docker/login-action@v1
with: with:
username: ${{ secrets.DOCKER_HUB_USERNAME }} username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_SECRET }} password: ${{ secrets.DOCKER_HUB_SECRET }}
- -
name: Checkout name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v2
- -
name: Build and Push from Makefile name: Build and Push from Makefile

View File

@ -1,6 +1,6 @@
DOCKER_IMAGE_NAME = cubetiq/calpine-os-linux DOCKER_IMAGE_NAME = cubetiq/calpine-os-linux
DOCKER_IMAGE_SIZE = $(shell docker images --format "{{.Repository}} {{.Size}}" | grep $(DOCKER_IMAGE_NAME) | cut -d\ -f2) DOCKER_IMAGE_SIZE = $(shell docker images --format "{{.Repository}} {{.Size}}" | grep $(DOCKER_IMAGE_NAME) | cut -d\ -f2)
DOCKER_IMAGE=${DOCKER_IMAGE_NAME}:3.16 DOCKER_IMAGE=${DOCKER_IMAGE_NAME}:3.15
build: build:
./src/build.sh ./src/build.sh

View File

@ -10,8 +10,7 @@ set -ex
# Default args # Default args
DOCKER_IMAGE_NAME=${DOCKER_IMAGE_NAME:-calpine-os-linux} DOCKER_IMAGE_NAME=${DOCKER_IMAGE_NAME:-calpine-os-linux}
DOCKER_USERNAME="${DOCKER_USERNAME:-cubetiq}" DOCKER_USERNAME="${DOCKER_USERNAME:-cubetiq}"
ALPINE_VERSION="${ALPINE_VERSION:-3.16}" ALPINE_VERSION="${ALPINE_VERSION:-3.15}"
ALPINE_MAKE_ROOTFS_VERSION="${ALPINE_MAKE_ROOTFS_VERSION:-0.6.1}"
PACKAGES="apk-tools ca-certificates ssl_client" PACKAGES="apk-tools ca-certificates ssl_client"
MKROOTFS="/tmp/alpine-make-rootfs" MKROOTFS="/tmp/alpine-make-rootfs"
@ -27,8 +26,8 @@ $PRE_INSTALL
# Build from alpine rootfs # Build from alpine rootfs
# Download rootfs builder and verify it. # Download rootfs builder and verify it.
wget https://raw.githubusercontent.com/alpinelinux/alpine-make-rootfs/v${ALPINE_MAKE_ROOTFS_VERSION}/alpine-make-rootfs -O "$MKROOTFS" wget https://raw.githubusercontent.com/alpinelinux/alpine-make-rootfs/v0.6.0/alpine-make-rootfs -O "$MKROOTFS"
echo "73948b9ee3580d6d9dc277ec2d9449d941e32818 $MKROOTFS" | sha1sum -c - echo "c9cfea712709df162f4dcf26e2b1422aadabad43 $MKROOTFS" | sha1sum -c -
chmod +x ${MKROOTFS} chmod +x ${MKROOTFS}
sudo ${MKROOTFS} --mirror-uri http://dl-2.alpinelinux.org/alpine \ sudo ${MKROOTFS} --mirror-uri http://dl-2.alpinelinux.org/alpine \