asd
This commit is contained in:
80
.github/workflows/main.yml
vendored
80
.github/workflows/main.yml
vendored
@@ -23,24 +23,24 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: "Checkout project"
|
- name: "Checkout project"
|
||||||
uses: "actions/checkout@v4"
|
uses: "actions/checkout@v4"
|
||||||
# - name: "Register binfmt entries"
|
- name: "Register binfmt entries"
|
||||||
# if: "matrix.arch != 'native'"
|
if: "matrix.arch != 'native'"
|
||||||
# run: |
|
run: |
|
||||||
# make binfmt-register
|
make binfmt-register
|
||||||
- name: "Build and save image"
|
- name: "Build and save image"
|
||||||
run: |
|
run: |
|
||||||
make IMAGE_BUILD_OPTS="--pull" "build-${{ matrix.arch }}-image" "save-${{ matrix.arch }}-image"
|
make IMAGE_BUILD_OPTS="--pull" "build-${{ matrix.arch }}-image" "save-${{ matrix.arch }}-image"
|
||||||
# - name: "Upload artifacts"
|
- name: "Upload artifacts"
|
||||||
# if: "startsWith(github.ref, 'refs/tags/v') && matrix.arch != 'native'"
|
if: "startsWith(github.ref, 'refs/tags/v') && matrix.arch != 'native'"
|
||||||
# uses: "actions/upload-artifact@v4"
|
uses: "actions/upload-artifact@v4"
|
||||||
# with:
|
with:
|
||||||
# name: "dist-${{ matrix.arch }}"
|
name: "dist-${{ matrix.arch }}"
|
||||||
# path: "./dist/"
|
path: "./dist/"
|
||||||
# retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
push:
|
push:
|
||||||
name: "Push ${{ matrix.arch }} image"
|
name: "Push ${{ matrix.arch }} image"
|
||||||
# if: "startsWith(github.ref, 'refs/tags/v')"
|
if: "startsWith(github.ref, 'refs/tags/v')"
|
||||||
needs: ["build"]
|
needs: ["build"]
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
permissions:
|
permissions:
|
||||||
@@ -64,33 +64,31 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
make "load-${{ matrix.arch }}-image" "push-${{ matrix.arch }}-image"
|
make "load-${{ matrix.arch }}-image" "push-${{ matrix.arch }}-image"
|
||||||
|
|
||||||
# push-manifest:
|
push-manifest:
|
||||||
# name: "Push manifest"
|
name: "Push manifest"
|
||||||
# if: "startsWith(github.ref, 'refs/tags/v')"
|
if: "startsWith(github.ref, 'refs/tags/v')"
|
||||||
# needs: ["push"]
|
needs: ["push"]
|
||||||
# runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
# permissions:
|
permissions:
|
||||||
# contents: "read"
|
contents: "read"
|
||||||
# steps:
|
steps:
|
||||||
# - name: "Checkout project"
|
- name: "Checkout project"
|
||||||
# uses: "actions/checkout@v4"
|
uses: "actions/checkout@v4"
|
||||||
# - name: "Login to Docker Hub"
|
- name: "Login to Docker Hub"
|
||||||
# uses: "docker/login-action@v3"
|
uses: "docker/login-action@v3"
|
||||||
# with:
|
with:
|
||||||
# registry: "docker.io"
|
registry: "d.lilpenguins.com"
|
||||||
# username: "${{ secrets.DOCKERHUB_USERNAME }}"
|
- name: "Push manifest"
|
||||||
# password: "${{ secrets.DOCKERHUB_TOKEN }}"
|
run: |
|
||||||
# - name: "Push manifest"
|
make push-cross-manifest
|
||||||
# run: |
|
|
||||||
# make push-cross-manifest
|
|
||||||
|
|
||||||
# publish-github-release:
|
publish-github-release:
|
||||||
# name: "Publish GitHub release"
|
name: "Publish GitHub release"
|
||||||
# if: "startsWith(github.ref, 'refs/tags/v')"
|
if: "startsWith(github.ref, 'refs/tags/v')"
|
||||||
# needs: ["push-manifest"]
|
needs: ["push-manifest"]
|
||||||
# runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
# permissions:
|
permissions:
|
||||||
# contents: "write"
|
contents: "write"
|
||||||
# steps:
|
steps:
|
||||||
# - name: "Publish"
|
- name: "Publish"
|
||||||
# uses: "hectorm/ghaction-release@066200d04c3549852afa243d631ea3dc93390f68"
|
uses: "hectorm/ghaction-release@066200d04c3549852afa243d631ea3dc93390f68"
|
||||||
|
|||||||
6
Makefile
6
Makefile
@@ -197,9 +197,9 @@ push-cross-manifest:
|
|||||||
## "binfmt-*" targets
|
## "binfmt-*" targets
|
||||||
##################################################
|
##################################################
|
||||||
|
|
||||||
#.PHONY: binfmt-register
|
.PHONY: binfmt-register
|
||||||
#binfmt-register:
|
binfmt-register:
|
||||||
# '$(DOCKER)' run --rm --privileged docker.io/hectorm/qemu-user-static:latest --reset --persistent yes --credential yes
|
'$(DOCKER)' run --rm --privileged docker.io/hectorm/qemu-user-static:latest --reset --persistent yes --credential yes
|
||||||
|
|
||||||
##################################################
|
##################################################
|
||||||
## "version" target
|
## "version" target
|
||||||
|
|||||||
Reference in New Issue
Block a user