-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
105 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ env: | |
YARN_PACKAGE_CACHE_KEY: v1 | ||
YARN_CACHE_FOLDER: .cache/yarn | ||
NODE_VERSION: 14 | ||
APT_HTTP_PROXY: http://172.17.0.1:3142 | ||
|
||
jobs: | ||
distro: | ||
|
@@ -34,6 +35,9 @@ jobs: | |
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: start apt-cacher | ||
run: sudo apt-get install -y apt-cacher-ng | ||
|
||
- name: test distro | ||
run: docker buildx bake --progress plain test | ||
|
||
|
@@ -62,17 +66,23 @@ jobs: | |
latest, | ||
] | ||
|
||
env: | ||
TAG: ${{ matrix.tag }} | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: start apt-cacher | ||
run: sudo apt-get install -y apt-cacher-ng | ||
|
||
- name: build | ||
run: docker buildx bake --progress plain | ||
|
||
- name: images | ||
run: docker image ls | ||
|
||
- name: test | ||
run: docker buildx build --progress plain ./test/${{ matrix.tag }} | ||
run: docker buildx bake --progress plain build_test | ||
|
||
release: | ||
needs: [lang, distro] | ||
|
@@ -105,6 +115,9 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: start apt-cacher | ||
run: sudo apt-get install -y apt-cacher-ng | ||
|
||
- name: Docker registry login | ||
if: github.ref == 'refs/heads/main' | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ FROM ubuntu:focal@sha256:cf31af331f38d1d7158470e095b132acd126a7180a54f263d386da8 | |
|
||
ARG USER_ID | ||
ARG USER_NAME | ||
ARG APT_HTTP_PROXY | ||
|
||
LABEL maintainer="Rhys Arkins <[email protected]>" \ | ||
org.opencontainers.image.source="https://github.com/containerbase/buildpack" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ FROM ubuntu:bionic@sha256:538529c9d229fb55f50e6746b119e899775205d62c0fc1b7e679b3 | |
|
||
ARG USER_ID | ||
ARG USER_NAME | ||
ARG APT_HTTP_PROXY | ||
|
||
LABEL maintainer="Rhys Arkins <[email protected]>" \ | ||
org.opencontainers.image.source="https://github.com/containerbase/buildpack" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
ARG IMAGE=containerbase/buildpack | ||
FROM ${IMAGE} as build | ||
|
||
|
||
RUN touch /.dummy | ||
|
||
WORKDIR /tmp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.