🔧 Bump
Create and publish a Docker image / docker (push) Failing after 19s
Details
Create and publish a Docker image / docker (push) Failing after 19s
Details
This commit is contained in:
parent
e323fc9892
commit
498e2ed1e0
|
@ -1,28 +1,28 @@
|
|||
---
|
||||
name: "Create and publish a Docker image"
|
||||
on: [push]
|
||||
|
||||
env:
|
||||
REGISTRY: source.toby3d.me
|
||||
IMAGE_NAME: ${{ gitea.repository }}
|
||||
|
||||
jobs:
|
||||
build-image:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
name: "Create and publish a Docker image"
|
||||
env:
|
||||
DOCKER_USERNAME: toby3d
|
||||
steps:
|
||||
- name: Set up QEMU
|
||||
uses: https://github.com/docker/setup-qemu-action@v3
|
||||
uses: https://gitea.com/docker/setup-qemu-action@v2
|
||||
- name: Set up Docker BuildX
|
||||
uses: https://github.com/docker/setup-buildx-action@v3
|
||||
uses: https://gitea.com/docker/setup-buildx-action@v2
|
||||
- name: Login to registry
|
||||
uses: https://github.com/docker/login-action@v3
|
||||
uses: https://gitea.com/docker/login-action@v2
|
||||
with:
|
||||
username: ${{ env.DOCKER_USERNAME }}
|
||||
registry: source.toby3d.me
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
- name: Build and push
|
||||
uses: https://github.com/docker/build-push-action@v5
|
||||
uses: https://gitea.com/docker/build-push-action@v4
|
||||
with:
|
||||
push: true
|
||||
tags: user/app:latest
|
||||
|
|
Loading…
Reference in New Issue