Use buildx

This commit is contained in:
Adria Navarro 2023-10-30 11:45:05 +01:00
parent 6267d9b601
commit ac67a17b93
2 changed files with 8 additions and 1 deletions

View File

@ -51,9 +51,10 @@ jobs:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
fetch-depth: 0
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "yarn"
- run: yarn install --frozen-lockfile
- name: Update versions
@ -69,6 +70,9 @@ jobs:
echo "Using tag $version"
echo "version=$version" >> "$GITHUB_OUTPUT"
- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Build/release Docker images
run: |
yarn lerna run --stream build:docker

View File

@ -63,6 +63,9 @@ jobs:
echo "Using tag $version"
echo "version=$version" >> "$GITHUB_OUTPUT"
- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Build/release Docker images
run: |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD