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:
image: docker:dind
steps:
- name: Get git and docker
run: apk add git nodejs
- name: Checkout
uses: actions/checkout@v4
- name: Login
run: echo "${{ secrets.TOKEN}}" | docker login -u deke git.dekedin.me --password-stdin
- name: Build
run: docker build -t devenv .
- name: Push image
run: docker push devenv git.dekedin.me/deke/dev-env
- 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