Skip to content

Commit

Permalink
temp action
Browse files Browse the repository at this point in the history
  • Loading branch information
solsson committed Jul 13, 2024
1 parent fe481a8 commit cdbb884
Showing 1 changed file with 25 additions and 24 deletions.
49 changes: 25 additions & 24 deletions .github/workflows/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- registry-config-image

jobs:
docker:
Expand All @@ -27,20 +28,20 @@ jobs:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push runner
uses: docker/build-push-action@v5
env:
SOURCE_DATE_EPOCH: 0
with:
context: .
file: runner.Dockerfile
tags: |
ghcr.io/yolean/ystack-runner:${{ github.sha }}
platforms: linux/amd64,linux/arm64/v8
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
# -
# name: Build and push runner
# uses: docker/build-push-action@v5
# env:
# SOURCE_DATE_EPOCH: 0
# with:
# context: .
# file: runner.Dockerfile
# tags: |
# ghcr.io/yolean/ystack-runner:${{ github.sha }}
# platforms: linux/amd64,linux/arm64/v8
# push: true
# cache-from: type=gha
# cache-to: type=gha,mode=max
-
name: Build and push registry node-update
uses: docker/build-push-action@v5
Expand All @@ -54,13 +55,13 @@ jobs:
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
-
uses: actions/setup-go@v5
with:
go-version: 1.22
-
uses: imjasonh/[email protected]
-
run: |
TAG_BUILDKIT=v0.14.1-rootless
crane cp docker.io/moby/buildkit:$TAG_BUILDKIT ghcr.io/yolean/buildkit:$TAG_BUILDKIT
# -
# uses: actions/setup-go@v5
# with:
# go-version: 1.22
# -
# uses: imjasonh/[email protected]
# -
# run: |
# TAG_BUILDKIT=v0.14.1-rootless
# crane cp docker.io/moby/buildkit:$TAG_BUILDKIT ghcr.io/yolean/buildkit:$TAG_BUILDKIT

0 comments on commit cdbb884

Please sign in to comment.