Skip to content

buildx-7.4-14

buildx-7.4-14 #125

name: buildx-7.4-14
on:
schedule:
- cron: '11 1 * * 1'
push:
branches: master
jobs:
buildx7414:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Generate bake file
run: |
cat <<'EOF' > docker-bake.hcl
group "default" {
targets = [
"7_4-14",
]
}
target "default" {
context="."
dockerfile="Dockerfile"
platforms = [
"linux/amd64",
]
}
target "7_4-14" {
inherits=["default"]
tags = [
"16nsk/devcontainers:7.4-14",
]
args = {
VERSION="20.04"
PHP_VERSION="7.4",
NODE_VERSION="14",
}
}
EOF
-
name: Build and push
uses: docker/bake-action@master
with:
push: true
files: docker-bake.hcl