From c441cc891fa50a933c9fbd7ea4810c02e8ada4ad Mon Sep 17 00:00:00 2001 From: mjjonone <142796823+mjjonone@users.noreply.github.com> Date: Thu, 23 Nov 2023 13:19:32 +0800 Subject: [PATCH] Create bullseye.yml --- .github/workflows/bullseye.yml | 38 ++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/bullseye.yml diff --git a/.github/workflows/bullseye.yml b/.github/workflows/bullseye.yml new file mode 100644 index 0000000..50c3fe4 --- /dev/null +++ b/.github/workflows/bullseye.yml @@ -0,0 +1,38 @@ +name: "Build and push amd64 images" + +on: + workflow_dispatch: + +jobs: + Building: + runs-on: ubuntu-latest + name: "Build images" + env: + DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} + DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} + DOCKERHUB_REPOSITORY: ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPO }}:bullseye + + steps: + - name: Checkout code + uses: actions/checkout@v3.3.0 + with: + fetch-depth: 0 + + - name: Set up QEMU + uses: docker/setup-qemu-action@v1.2.0 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1.6.0 + + - name: Login to DockerHub + uses: docker/login-action@v1.14.1 + with: + username: ${{ env.DOCKER_USERNAME }} + password: ${{ env.DOCKER_PASSWORD }} + + - name: Push images to Docker hub + uses: docker/build-push-action@v2.9.0 + with: + push: true + platforms: linux/amd64 + tags: ${{ env.DOCKERHUB_REPOSITORY }}