-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Gyanesh Mishra
authored and
Gyanesh Mishra
committed
Dec 2, 2023
1 parent
2133b06
commit e0265d7
Showing
2 changed files
with
32 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,12 @@ jobs: | |
haskell: true | ||
large-packages: false | ||
swap-storage: true | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/[email protected] | ||
|
||
- name: Set up containerd for ubuntu | ||
uses: crazy-max/[email protected] | ||
|
||
- name: Install soci | ||
uses: lerentis/[email protected] | ||
|
@@ -45,12 +51,6 @@ jobs: | |
|
||
- name: Set up QEMU | ||
uses: docker/[email protected] | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/[email protected] | ||
|
||
- name: Set up containerd for ubuntu | ||
uses: crazy-max/[email protected] | ||
|
||
- name: Docker meta | ||
id: meta | ||
|
@@ -64,13 +64,6 @@ jobs: | |
type=sha,prefix=,suffix=,format=short | ||
type=raw,value=latest | ||
- name: Log in to GitHub Container Registry | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GHCR_PAT }} | ||
|
||
- name: Build Docker image | ||
uses: docker/build-push-action@v2 | ||
with: | ||
|
@@ -91,6 +84,13 @@ jobs: | |
done | ||
rm -rf /tmp/lorax-${{ steps.meta.outputs.version }}.tar | ||
- name: Log in to GitHub Container Registry | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GHCR_PAT }} | ||
|
||
- name: Push image with containerd | ||
env: | ||
tags: ${{ steps.meta.outputs.tags }} | ||
|