dev-env/.forgejo/workflows/action.yaml
raphy 84a14d52fe
Some checks are pending
ci / checkout (push) Waiting to run
specify aniko action is from github
2025-01-31 14:44:03 +01:00

34 lines
892 B
YAML

name: ci
on:
push:
jobs:
checkout:
runs-on: docker
container:
image: docker:dind
steps:
- name: Get git and podman
run: apk add git nodejs
- name: Checkout
uses: actions/checkout@v4
# - name: Login
# run: echo ${{secrets.TOKEN }} docker login -u deke -p ${{ secrets.TOKEN }} git.dekedin.me
- uses: docker/login-action@v1
with:
registry: git.dekedin.me
username: ${{ github.actor }}
password: ${{ secrets.TOKEN }}
- uses: https://github.com/int128/kaniko-action@v1
with:
push: true
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
cache: true
# - name: Build
# run: podman build -t devenv .
- name: Push image
run: docker push devenv git.dekedin.me/deke/dev-env