mirror of
https://github.com/phusion/baseimage-docker.git
synced 2026-03-26 20:38:58 +00:00
CI: Update the README and branch to execute on. [ci-skip]
This commit is contained in:
@@ -1,21 +0,0 @@
|
|||||||
version: 2
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
machine: true
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
#- run:
|
|
||||||
# name : Getting docker
|
|
||||||
# command: curl https://get.docker.com | sh
|
|
||||||
- run:
|
|
||||||
name: Enabling qemu
|
|
||||||
command: docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
|
||||||
- run:
|
|
||||||
name: Building arm based image.
|
|
||||||
command: docker build -t arm-test .
|
|
||||||
- run:
|
|
||||||
name: Listing built images
|
|
||||||
command: docker images
|
|
||||||
# - run:
|
|
||||||
# name: Running arm based image.
|
|
||||||
# command: docker run --rm arm-test
|
|
||||||
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -4,8 +4,8 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- move-to-github-actions
|
- focal-1.1.0
|
||||||
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
53
.travis.yml
53
.travis.yml
@@ -1,53 +0,0 @@
|
|||||||
os: linux
|
|
||||||
|
|
||||||
dist: focal
|
|
||||||
|
|
||||||
language: c
|
|
||||||
|
|
||||||
services:
|
|
||||||
- docker
|
|
||||||
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- docker-ce
|
|
||||||
- qemu-user-static
|
|
||||||
|
|
||||||
env:
|
|
||||||
global:
|
|
||||||
# - VERSION=${TRAVIS_TAG}
|
|
||||||
- VERSION=${TRAVIS_BRANCH}
|
|
||||||
- DOCKER_CLI_EXPERIMENTAL=enabled
|
|
||||||
- QEMU_VERSION=v6.1.0-1
|
|
||||||
|
|
||||||
matrix:
|
|
||||||
# PLATFORM = Base image architecture to be used
|
|
||||||
# QEMU_ARCH = qemu binary to be downloaded from https://github.com/multiarch/qemu-user-static/releases
|
|
||||||
# TAG_ARCH = Tag to be applied to the image when upload to DockerHub
|
|
||||||
# - PLATFORM=amd64 QEMU_ARCH=i386 TAG_ARCH=386
|
|
||||||
- PLATFORM=amd64 QEMU_ARCH=amd64 TAG_ARCH=amd64
|
|
||||||
- PLATFORM=arm64 QEMU_ARCH=aarch64 TAG_ARCH=arm64
|
|
||||||
# - PLATFORM=arm QEMU_ARCH=arm TAG_ARCH=arm
|
|
||||||
# - PLATFORM=ppc64le QEMU_ARCH=ppc64le TAG_ARCH=ppc64le
|
|
||||||
# - PLATFORM=s390x QEMU_ARCH=s390x TAG_ARCH=s390x
|
|
||||||
|
|
||||||
before_script:
|
|
||||||
- echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json
|
|
||||||
- sudo service docker restart
|
|
||||||
|
|
||||||
script:
|
|
||||||
- make build test
|
|
||||||
- if [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then
|
|
||||||
docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}";
|
|
||||||
make release;
|
|
||||||
fi
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
include:
|
|
||||||
- stage: deploy
|
|
||||||
env:
|
|
||||||
- ARCHS="amd64 arm64"
|
|
||||||
script:
|
|
||||||
- echo $NAME:$VERSION_TAG
|
|
||||||
- echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin
|
|
||||||
- make build_multiarch
|
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
# A minimal Ubuntu base image modified for Docker-friendliness
|
# A minimal Ubuntu base image modified for Docker-friendliness
|
||||||
|
|
||||||
[](https://imagelayers.io/?images=phusion/baseimage:latest 'Get your own badge on imagelayers.io')
|
[](https://github.com/phusion/baseimage-docker/actions/workflows/main.yml)
|
||||||
[](https://travis-ci.org/phusion/baseimage-docker)
|
|
||||||
|
|
||||||
_Baseimage-docker only consumes 8.3 MB RAM and is much more powerful than Busybox or Alpine. See why below._
|
_Baseimage-docker only consumes 8.3 MB RAM and is much more powerful than Busybox or Alpine. See why below._
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user