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
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:
parent
7796bab36e
commit
b0da70bdeb
2 changed files with 8 additions and 10 deletions
9
.github/workflows/docker-image-rootless.yml
vendored
9
.github/workflows/docker-image-rootless.yml
vendored
|
@ -3,19 +3,18 @@ name: Publish Docker rootless image
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches: [master]
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
push_to_registry:
|
push_to_registry:
|
||||||
name: Push Docker image to Docker Hub
|
name: Push Docker image to Docker Hub
|
||||||
runs-on: ubuntu-latest
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: ghcr.io/catthehacker/ubuntu:act-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: setup-docker
|
|
||||||
uses: https://github.com/docker-practice/actions-setup-docker@v1
|
|
||||||
|
|
||||||
- name: Docker Login
|
- name: Docker Login
|
||||||
uses: docker/login-action@v1.12.0
|
uses: docker/login-action@v1.12.0
|
||||||
with:
|
with:
|
||||||
|
|
7
.github/workflows/docker-image.yml
vendored
7
.github/workflows/docker-image.yml
vendored
|
@ -3,19 +3,18 @@ name: Publish Docker image
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches: [master]
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
push_to_registry:
|
push_to_registry:
|
||||||
name: Push Docker image to Docker Hub
|
name: Push Docker image to Docker Hub
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: ghcr.io/catthehacker/ubuntu:act-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: setup-docker
|
|
||||||
uses: https://github.com/docker-practice/actions-setup-docker@v1
|
|
||||||
|
|
||||||
- name: Docker Login
|
- name: Docker Login
|
||||||
uses: docker/login-action@v1.12.0
|
uses: docker/login-action@v1.12.0
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue