raphy
b8cec40c08
Some checks failed
ci / checkout (push) Failing after 19s
build: steps: - uses: actions/checkout@v3 - uses: docker/metadata-action@v3 id: metadata with: images: ghcr.io/${{ github.repository }} - uses: docker/login-action@v1 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - uses: int128/kaniko-action@v1 with: push: true tags: ${{ steps.metadata.outputs.tags }} labels: ${{ steps.metadata.outputs.labels }} cache: true cache-repository: ghcr.io/${{ github.repository }}/cacheo
34 lines
873 B
YAML
34 lines
873 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: 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
|
|
|
|
|