Skip to content

Commit

Permalink
Pull pause image from k8s.io, tag and push to ghcr.io/canonical
Browse files Browse the repository at this point in the history
  • Loading branch information
eaudetcobello committed May 1, 2024
1 parent af5c839 commit 98aa598
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/images.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
push:
branches:
- "eaudetcobello/KU-617"
schedule:
- cron: "0 0 * * *" # Runs every midnight

jobs:
publish:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Skopeo
run: |
docker run quay.io/skopeo/stable:v1.15 sync \
--src docker \
--dest docker \
--all registry.k8s.io/pause ghcr.io/canonical \
--format oci \
--dest-creds ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}

0 comments on commit 98aa598

Please sign in to comment.