🔧 Bump
Create and publish a Docker image / docker (push) Failing after 19s Details

This commit is contained in:
Maxim Lebedev 2023-11-03 22:55:16 +06:00
parent e323fc9892
commit 498e2ed1e0
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
1 changed files with 8 additions and 8 deletions

View File

@ -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