Set container image & branch to main
Some checks failed
Publish Docker rootless image / Push Docker image to Docker Hub (push) Failing after 7s
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 1s

This commit is contained in:
Aroy-Art 2024-02-23 17:13:33 +01:00
parent 7796bab36e
commit b0da70bdeb
Signed by: Aroy
GPG key ID: 583642324A1D2070
2 changed files with 8 additions and 10 deletions

View file

@ -3,19 +3,18 @@ name: Publish Docker rootless image
on:
workflow_dispatch:
push:
branches: [master]
branches: [main]
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
runs-on: docker
container:
image: ghcr.io/catthehacker/ubuntu:act-22.04
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: setup-docker
uses: https://github.com/docker-practice/actions-setup-docker@v1
- name: Docker Login
uses: docker/login-action@v1.12.0
with:

View file

@ -3,18 +3,17 @@ name: Publish Docker image
on:
workflow_dispatch:
push:
branches: [master]
branches: [main]
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: docker
container:
image: ghcr.io/catthehacker/ubuntu:act-22.04
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: setup-docker
uses: https://github.com/docker-practice/actions-setup-docker@v1
uses: actions/checkout@v2
- name: Docker Login
uses: docker/login-action@v1.12.0