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:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Set up QEMU
|
2022-11-02 04:31:13 +01:00
|
|
|
uses: docker/setup-qemu-action@v2
|
2022-08-12 02:24:23 +02:00
|
|
|
- name: Set up Docker Buildx
|
2022-11-02 04:31:10 +01:00
|
|
|
uses: docker/setup-buildx-action@v2
|
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
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
2022-11-24 00:12:55 +01:00
|
|
|
- name: Build and push Docker image
|
2023-02-01 07:16:25 +01:00
|
|
|
uses: docker/build-push-action@v4
|
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
|