File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed
Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Docker image
2+ on :
3+ release :
4+ types : [published]
5+ jobs :
6+ push_to_registry :
7+ name : Push Docker image to GitHub Packages
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Check out the repo
11+ uses : actions/checkout@v2
12+ - name : Prepare
13+ run : make prepare
14+ - name : Push to GitHub Packages
15+ uses : docker/build-push-action@v1
16+ with :
17+ username : ${{ github.actor }}
18+ password : ${{ secrets.GITHUB_TOKEN }}
19+ registry : ghcr.io
20+ repository : stackhpc/hyperkube-base
21+ tag_with_ref : true
Original file line number Diff line number Diff line change 4444 rm -rf cni-bin/
4545 rm -f scripts/iptables-wrapper-installer.sh
4646
47- build : clean cni-bin/bin scripts/iptables-wrapper-installer.sh
47+ prepare : cni-bin/bin scripts/iptables-wrapper-installer.sh
48+
49+ build : clean prepare
4850 docker build --pull --build-arg ARCH=${ARCH} -t $(IMAGE ) :$(TAG ) -linux-$(ARCH ) .
4951
5052push : build
You can’t perform that action at this time.
0 commit comments