2022-08-12 00:24:23 +00:00
|
|
|
name: publish-experimental
|
2022-08-12 00:27:48 +00:00
|
|
|
on: [workflow_dispatch]
|
2022-08-12 00:24:23 +00:00
|
|
|
jobs:
|
|
|
|
publish-experimental:
|
|
|
|
runs-on: ubuntu-latest
|
2022-08-12 00:31:36 +00:00
|
|
|
timeout-minutes: 20
|
2022-08-12 00:24:23 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Set up QEMU
|
2023-09-23 21:46:23 +00:00
|
|
|
uses: docker/setup-qemu-action@v3
|
2022-08-12 00:24:23 +00:00
|
|
|
- name: Set up Docker Buildx
|
2022-11-02 03:31:10 +00:00
|
|
|
uses: docker/setup-buildx-action@v2
|
2022-11-23 23:12:55 +00: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 00:24:23 +00:00
|
|
|
- name: Login to Docker Registry
|
2023-09-23 21:38:54 +00:00
|
|
|
uses: docker/login-action@v3
|
2022-08-12 00:24:23 +00:00
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
2022-11-23 23:12:55 +00:00
|
|
|
- name: Build and push Docker image
|
2023-02-01 06:16:25 +00:00
|
|
|
uses: docker/build-push-action@v4
|
2022-08-12 00:24:23 +00:00
|
|
|
with:
|
|
|
|
platforms: linux/amd64
|
|
|
|
pull: true
|
|
|
|
push: true
|
2022-10-11 02:11:19 +00:00
|
|
|
tags: ${{ env.IMAGE_REPOSITORY }}:experimental
|