test kanikjobs:
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
This commit is contained in:
R.J. 2025-01-31 14:42:31 +01:00
parent 6c68132651
commit b8cec40c08
No known key found for this signature in database
GPG key ID: D85876B31F4275CF

View file

@ -9,14 +9,26 @@ jobs:
container: container:
image: docker:dind image: docker:dind
steps: steps:
- name: Get git and docker - name: Get git and podman
run: apk add git nodejs run: apk add git nodejs
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Login # - name: Login
run: echo "${{ secrets.TOKEN}}" | docker login -u deke git.dekedin.me --password-stdin # run: echo ${{secrets.TOKEN }} docker login -u deke -p ${{ secrets.TOKEN }} git.dekedin.me
- name: Build - uses: docker/login-action@v1
run: docker build -t devenv . with:
- name: Push image registry: git.dekedin.me
run: docker push devenv git.dekedin.me/deke/dev-env 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