Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: docker/setup-buildx-action
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.5.0
Choose a base ref
...
head repository: docker/setup-buildx-action
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.6.0
Choose a head ref

Commits on Mar 11, 2023

  1. Bump @docker/actions-toolkit from 0.1.0-beta.18 to 0.1.0-beta.19

    Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.1.0-beta.18 to 0.1.0-beta.19.
    - [Release notes](https://github.com/docker/actions-toolkit/releases)
    - [Commits](docker/actions-toolkit@v0.1.0-beta.18...v0.1.0-beta.19)
    
    ---
    updated-dependencies:
    - dependency-name: "@docker/actions-toolkit"
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 11, 2023
    Copy the full SHA
    496312b View commit details
  2. update generated content

    Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
    crazy-max committed Mar 11, 2023
    Copy the full SHA
    1d91983 View commit details
  3. Merge pull request #220 from docker/dependabot/npm_and_yarn/docker/ac…

    …tions-toolkit-0.1.0-beta.19
    
    Bump @docker/actions-toolkit from 0.1.0-beta.18 to 0.1.0-beta.19
    crazy-max authored Mar 11, 2023
    Copy the full SHA
    07aea5f View commit details

Commits on Mar 12, 2023

  1. ci: split validate and test workflow

    Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
    crazy-max committed Mar 12, 2023
    Copy the full SHA
    81d4866 View commit details

Commits on Mar 15, 2023

  1. Merge pull request #221 from crazy-max/update-workflows

    ci: split validate and test workflow
    crazy-max authored Mar 15, 2023
    Copy the full SHA
    b167a89 View commit details

Commits on Apr 12, 2023

  1. Bump @docker/actions-toolkit from 0.1.0-beta.19 to 0.1.0

    Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.1.0-beta.19 to 0.1.0.
    - [Release notes](https://github.com/docker/actions-toolkit/releases)
    - [Commits](docker/actions-toolkit@v0.1.0-beta.19...v0.1.0)
    
    ---
    updated-dependencies:
    - dependency-name: "@docker/actions-toolkit"
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Apr 12, 2023
    Copy the full SHA
    45a8690 View commit details

Commits on Apr 17, 2023

  1. update dev dependencies

    Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
    crazy-max committed Apr 17, 2023
    Copy the full SHA
    d350de3 View commit details
  2. use new implementation from toolkit

    Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
    crazy-max committed Apr 17, 2023
    Copy the full SHA
    d267e74 View commit details
  3. update generated content

    Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
    crazy-max committed Apr 17, 2023
    Copy the full SHA
    ce223e7 View commit details
  4. Merge pull request #229 from docker/dependabot/npm_and_yarn/docker/ac…

    …tions-toolkit-0.1.0
    
    Bump @docker/actions-toolkit from 0.1.0-beta.19 to 0.1.0
    crazy-max authored Apr 17, 2023
    Copy the full SHA
    a946f06 View commit details

Commits on Apr 19, 2023

  1. Bump docker/bake-action from 2 to 3

    Bumps [docker/bake-action](https://github.com/docker/bake-action) from 2 to 3.
    - [Release notes](https://github.com/docker/bake-action/releases)
    - [Commits](docker/bake-action@v2...v3)
    
    ---
    updated-dependencies:
    - dependency-name: docker/bake-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Apr 19, 2023
    Copy the full SHA
    8ec3610 View commit details

Commits on Jun 2, 2023

  1. Merge pull request #230 from docker/dependabot/github_actions/docker/…

    …bake-action-3
    
    Bump docker/bake-action from 2 to 3
    crazy-max authored Jun 2, 2023
    Copy the full SHA
    95cefc3 View commit details
  2. set node name for k8s driver when appending nodes

    Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
    crazy-max committed Jun 2, 2023
    Copy the full SHA
    fc1a41d View commit details
  3. update generated content

    Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
    crazy-max committed Jun 2, 2023
    Copy the full SHA
    a99c5e5 View commit details
  4. ci: set up and build with k3s

    Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
    crazy-max committed Jun 2, 2023
    Copy the full SHA
    5bb6d36 View commit details

Commits on Jun 6, 2023

  1. Merge pull request #219 from crazy-max/ci-k3s-append

    set node name for k8s driver when appending nodes
    crazy-max authored Jun 6, 2023
    Copy the full SHA
    d957594 View commit details
  2. Bump @docker/actions-toolkit from 0.1.0 to 0.2.0

    Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.1.0 to 0.2.0.
    - [Release notes](https://github.com/docker/actions-toolkit/releases)
    - [Commits](docker/actions-toolkit@v0.1.0...v0.2.0)
    
    ---
    updated-dependencies:
    - dependency-name: "@docker/actions-toolkit"
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Jun 6, 2023
    Copy the full SHA
    484614d View commit details
  3. update generated content

    Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
    crazy-max committed Jun 6, 2023
    Copy the full SHA
    00b2400 View commit details
  4. Merge pull request #231 from docker/dependabot/npm_and_yarn/docker/ac…

    …tions-toolkit-0.2.0
    
    Bump @docker/actions-toolkit from 0.1.0 to 0.2.0
    crazy-max authored Jun 6, 2023
    Copy the full SHA
    2a81c53 View commit details

Commits on Jun 7, 2023

  1. Bump @docker/actions-toolkit from 0.2.0 to 0.3.0

    Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.2.0 to 0.3.0.
    - [Release notes](https://github.com/docker/actions-toolkit/releases)
    - [Commits](docker/actions-toolkit@v0.2.0...v0.3.0)
    
    ---
    updated-dependencies:
    - dependency-name: "@docker/actions-toolkit"
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Jun 7, 2023
    Copy the full SHA
    790eb2d View commit details
  2. update generated content

    Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
    crazy-max committed Jun 7, 2023
    Copy the full SHA
    d56292e View commit details
  3. Merge pull request #236 from docker/dependabot/npm_and_yarn/docker/ac…

    …tions-toolkit-0.3.0
    
    Bump @docker/actions-toolkit from 0.2.0 to 0.3.0
    crazy-max authored Jun 7, 2023
    Copy the full SHA
    6a58db7 View commit details
Showing with 1,175 additions and 1,278 deletions.
  1. +51 −4 .github/workflows/ci.yml
  2. +1 −9 .github/workflows/test.yml
  3. +41 −0 .github/workflows/validate.yml
  4. +3 −3 dist/index.js
  5. +1 −1 dist/index.js.map
  6. +1 −1 dist/sourcemap-register.js
  7. +14 −14 package.json
  8. +2 −0 src/context.ts
  9. +1 −1 src/main.ts
  10. +1,060 −1,245 yarn.lock
55 changes: 51 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -2,17 +2,14 @@ name: ci

on:
schedule:
- cron: '0 10 * * *' # everyday at 10am
- cron: '0 10 * * *'
push:
branches:
- 'master'
- 'releases/v*'
tags:
- 'v*'
pull_request:
branches:
- 'master'
- 'releases/v*'

jobs:
main:
@@ -499,3 +496,53 @@ jobs:
uses: ./
with:
cleanup: ${{ matrix.cleanup }}

k3s:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
version:
- v0.11.0-rc1
- v0.10.5
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Install k3s
uses: crazy-max/.github/.github/actions/install-k3s@605d30d5ae97f6680578ace4b56645af79343e60
with:
version: "v1.21.2-k3s1"
-
name: Set up Docker Buildx
id: buildx
uses: ./
with:
version: ${{ matrix.version }}
driver: kubernetes
platforms: linux/amd64
driver-opts: |
image=moby/buildkit:buildx-stable-1
qemu.install=true
append: |
- platforms: linux/arm64
driver-opts:
- image=moby/buildkit:buildx-stable-1
- qemu.install=true
- platforms: linux/s390x
driver-opts:
- image=moby/buildkit:buildx-stable-1
- qemu.install=true
-
name: Create Dockerfile
run: |
cat > ./Dockerfile <<EOL
FROM alpine
RUN uname -a
EOL
-
name: Build
uses: docker/build-push-action@master
with:
context: .
10 changes: 1 addition & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -6,9 +6,6 @@ on:
- 'master'
- 'releases/v*'
pull_request:
branches:
- 'master'
- 'releases/v*'

jobs:
test:
@@ -17,17 +14,12 @@ jobs:
-
name: Checkout
uses: actions/checkout@v3
-
name: Validate
uses: docker/bake-action@v2
with:
targets: validate
-
name: Set up Docker Buildx
uses: ./
-
name: Test
uses: docker/bake-action@v2
uses: docker/bake-action@v3
with:
targets: test
-
41 changes: 41 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: validate

on:
push:
branches:
- 'master'
- 'releases/v*'
pull_request:

jobs:
prepare:
runs-on: ubuntu-latest
outputs:
targets: ${{ steps.targets.outputs.matrix }}
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Targets matrix
id: targets
run: |
echo "matrix=$(docker buildx bake validate --print | jq -cr '.group.validate.targets')" >> $GITHUB_OUTPUT
validate:
runs-on: ubuntu-latest
needs:
- prepare
strategy:
fail-fast: false
matrix:
target: ${{ fromJson(needs.prepare.outputs.targets) }}
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Validate
uses: docker/bake-action@v3
with:
targets: ${{ matrix.target }}
6 changes: 3 additions & 3 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

Loading