Skip to content

Commit

Permalink
Add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
asaaki committed Aug 26, 2023
1 parent 8abe3fc commit 92f867c
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: images

on:
push:
branches: [main]
pull_request:
branches: [main]
pull_request_target:
types: [labeled]
schedule:
- cron: '0 5 * * *'
workflow_dispatch:

env:
REGISTRY_IMAGE: ghcr.io/markentier/utilities

jobs:
utilities:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3

- run: docker version
- run: docker info
- run: docker system df -v
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to GitHub Container Registry (ghcr.io)
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_PAT }}
-
name: Build and push
run: make all.ghcr BUILDX_FLAGS="--cache-from=type=gha --cache-to=type=gha"

0 comments on commit 92f867c

Please sign in to comment.