diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index a793a07..3f3f24a 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -32,11 +32,18 @@ jobs: uses: docker/metadata-action@v4 with: images: ${{ matrix.image }} + tags: | + type=raw,value=latest,enable={{is_default_branch}} + type=schedule,pattern={{date 'YYYYMMDD'}} + type=ref,event=branch + type=ref,event=tag + type=ref,event=pr - name: Build and push uses: docker/build-push-action@v4 with: context: . + platforms: linux/amd64,linux/arm64 file: ${{ matrix.dockerfile }} push: true tags: ${{ steps.meta.outputs.tags }}