2022-08-12 02:24:23 +02:00
|
|
|
name: publish-experimental
|
2022-08-12 02:27:48 +02:00
|
|
|
on: [workflow_dispatch]
|
2022-08-12 02:24:23 +02:00
|
|
|
jobs:
|
|
|
|
publish-experimental:
|
|
|
|
runs-on: ubuntu-latest
|
2022-08-12 02:31:36 +02:00
|
|
|
timeout-minutes: 20
|
2022-08-12 02:24:23 +02:00
|
|
|
steps:
|
2023-09-30 14:06:35 +02:00
|
|
|
- uses: actions/checkout@v4
|
2022-08-12 02:24:23 +02:00
|
|
|
- name: Set up QEMU
|
2023-09-23 23:46:23 +02:00
|
|
|
uses: docker/setup-qemu-action@v3
|
2022-08-12 02:24:23 +02:00
|
|
|
- name: Set up Docker Buildx
|
2023-09-30 14:14:39 +02:00
|
|
|
uses: docker/setup-buildx-action@v3
|
2022-11-24 00:12:55 +01:00
|
|
|
- name: Get image repository
|
|
|
|
run: echo IMAGE_REPOSITORY=$(echo ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
|
2022-08-12 02:24:23 +02:00
|
|
|
- name: Login to Docker Registry
|
2023-09-23 23:38:54 +02:00
|
|
|
uses: docker/login-action@v3
|
2022-08-12 02:24:23 +02:00
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
2022-11-24 00:12:55 +01:00
|
|
|
- name: Build and push Docker image
|
2024-06-23 04:39:52 +02:00
|
|
|
uses: docker/build-push-action@v6
|
2022-08-12 02:24:23 +02:00
|
|
|
with:
|
|
|
|
platforms: linux/amd64
|
|
|
|
pull: true
|
|
|
|
push: true
|
2022-10-11 04:11:19 +02:00
|
|
|
tags: ${{ env.IMAGE_REPOSITORY }}:experimental
|