forked from icpctools/icpctools
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (29 loc) · 839 Bytes
/
Copy pathbuilder.yml
File metadata and controls
29 lines (29 loc) · 839 Bytes
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
name: Push Builder Docker Image
on:
push:
branches:
- main
paths:
- build/builder.Dockerfile
jobs:
push-builder-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Builder Docker image
run: |
cd build
docker build -t ghcr.io/icpctools/builder:latest -f builder.Dockerfile .
docker push ghcr.io/icpctools/builder:latest