-
Notifications
You must be signed in to change notification settings - Fork 16
32 lines (28 loc) · 975 Bytes
/
images.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build from source
run: |
sudo apt install libgpgme-dev libassuan-dev libbtrfs-dev pkg-config
sudo snap install go --classic
git clone https://github.com/containers/skopeo $GOPATH/src/github.com/containers/skopeo
cd $GOPATH/src/github.com/containers/skopeo && make bin/skopeo
DISABLE_DOCS=1 make
- name: Skopeo
run: |
~/go/bin/skopeo sync --src docker --dest docker --all registry.k8s.io/pause ghcr.io/canonical --format oci