Fix docker action issue
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled

This commit is contained in:
MaxJa4
2024-01-24 09:36:13 +01:00
parent 165ddf8b76
commit 6cfe8e3136

View File

@@ -9,19 +9,20 @@ on:
jobs: jobs:
build-and-push: build-and-push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: catthehacker/ubuntu:runner-latest
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: https://github.com/actions/checkout@v4 uses: actions/checkout@v4
- name: Log in to Gitea Docker Registry - name: Log in to Gitea Docker Registry
uses: https://github.com/docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: gitea.maximilian.link registry: gitea.maximilian.link
username: ${{ secrets.USERNAME }} username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }} password: ${{ secrets.PASSWORD }}
- name: Build and push Docker image - name: Build and push Docker image
uses: https://github.com/docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: . context: .
push: true push: true