Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
  • Loading branch information
dubo-dubon-duponey committed Sep 4, 2020
1 parent b8dad3a commit 9d67d9b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/CI.yml
Expand Up @@ -2,10 +2,6 @@ name: CI

on: [push, pull_request]

env:
DEBOOTSTRAP_SUITE: buster
DEBOOTSTRAP_DATE: 2020-08-01

jobs:
test:
# The type of runner that the job will run on
Expand All @@ -15,6 +11,8 @@ jobs:
steps:
- name: Checks-out repository
uses: actions/checkout@v2
with:
submodules: true

- name: Enable cache
uses: actions/cache@v2.1.1
Expand All @@ -31,7 +29,7 @@ jobs:
run: |
mkdir -p "$GITHUB_WORKSPACE/cache/apt"
chmod a+rwx "$GITHUB_WORKSPACE/cache/apt"
docker run -d --name aptcache --read-only --cap-drop=ALL --volume $GITHUB_WORKSPACE/cache/apt:/data --expose 3142 dubodubonduponey/aptutil
docker run -d --name aptcache --read-only --cap-drop=ALL --volume $GITHUB_WORKSPACE/cache/apt:/data --expose 3142 dubodubonduponey/aptutil:buster-2020-08-01
- name: Install multi-arch buildx environment
run: |
Expand Down
8 changes: 2 additions & 6 deletions .travis.yml
Expand Up @@ -27,7 +27,7 @@ before_install:
- docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64

install:
- curl -sL -o hadolint "https://github.com/hadolint/hadolint/releases/download/v1.16.0/hadolint-$(uname -s)-$(uname -m)"
- curl -sL -o hadolint "https://github.com/hadolint/hadolint/releases/download/v1.18.0/hadolint-$(uname -s)-$(uname -m)"
&& chmod 700 ./hadolint

script:
Expand All @@ -36,8 +36,4 @@ script:
matrix:
include:
- os: linux
dist: bionic
env:
- DEBOOTSTRAP_SUITE=buster
- DEBOOTSTRAP_DATE=2020-08-01
- TEST_DOES_NOT_BUILD=
dist: focal
2 changes: 1 addition & 1 deletion build.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -o errexit -o errtrace -o functrace -o nounset -o pipefail

export DEBOOTSTRAP_DATE="${DEBOOTSTRAP_DATE:-2020-08-01}"
export DEBOOTSTRAP_DATE="${DEBOOTSTRAP_DATE:-2020-09-01}"

# For good info on qemu / multi-arch and buildx:
# https://medium.com/@artur.klauser/building-multi-architecture-docker-images-with-buildx-27d80f7e2408
Expand Down
5 changes: 3 additions & 2 deletions docker-bake.hcl
Expand Up @@ -156,10 +156,11 @@ target "shared" {
"linux/amd64",
"linux/arm64",
"linux/arm/v7",
"linux/arm/v6",
"linux/s390x",
"linux/ppc64le",
]
cache-to = [
"type=local,dest=${PWD}/cache/buildkit"
"type=local,dest=${PWD}/cache/buildkit,mode=max"
]
cache-from = [
"type=local,src=${PWD}/cache/buildkit"
Expand Down

0 comments on commit 9d67d9b

Please sign in to comment.