Skip to content

Commit

Permalink
attempt 1 at docker image export
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmicFusion committed Jul 12, 2023
1 parent a84ea53 commit 67807c8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@ jobs:
- name: Generate debootstrap tar
run: sudo ./debootstrap.sh

- name: Build image
run: sudo docker build . --file ./base_chroot.tgz --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
- name: Build base image
run: sudo docker import ./base_chroot.tgz $IMAGE_NAME

- name: Export base image
run: sudo docker commit $IMAGE_NAME $IMAGE_NAME:$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')

- name: Log in to registry
# This is where you will update the personal access token to GITHUB_TOKEN
Expand Down

0 comments on commit 67807c8

Please sign in to comment.