@@ -3,11 +3,13 @@ run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
docker:
|
||||||
runs-on: docker
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Kaniko build
|
||||||
- name: Login
|
uses: actions/checkout@master
|
||||||
run: echo ${{ secrets.DOCKER_PASS }} | docker login -u ${{ secrets.DOCKER_USER }} --password-stdin
|
with:
|
||||||
- name: Build and Push
|
image: danthe/test
|
||||||
run: docker buildx build . -t myrepo/myimage:${{ gitea.sha }} --push
|
username: danthe
|
||||||
|
password: Secret666
|
||||||
|
registry: gitea.goroid.io
|
||||||
|
|||||||
Reference in New Issue
Block a user