Compare commits
3 commits
b4b6d0e975
...
18ccdf30a9
Author | SHA1 | Date | |
---|---|---|---|
18ccdf30a9 | |||
58430ac80f | |||
88d7b082c3 |
2 changed files with 6 additions and 6 deletions
|
@ -5,22 +5,22 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: catthehacker/ubuntu:act-latest
|
image: catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 4.1.1
|
uses: https://github.com/actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 4.1.1
|
||||||
|
|
||||||
- name: Login
|
- name: Login
|
||||||
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # 3.0.0
|
uses: https://github.com/docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # 3.0.0
|
||||||
with:
|
with:
|
||||||
registry: git.keine.cloud
|
registry: git.keine.cloud
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # 5.1.0
|
uses: https://github.com/docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # 5.1.0
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: git.keine.cloud/${{ env.GITHUB_REPOSITORY }}:latest
|
tags: git.keine.cloud/${{ env.GITHUB_REPOSITORY }}:latest
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# Gitea action test: Docker
|
# Forgejo action test: Docker
|
||||||
|
|
||||||
Is it possible to have docker container build and hosted in Gitea?
|
Is it possible to have docker container build and hosted in Forgejo?
|
||||||
|
|
Loading…
Add table
Reference in a new issue