Skip to content
This repository has been archived by the owner on Apr 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #3 from AkihiroSuda/dev
Browse files Browse the repository at this point in the history
add CentOS 8 RPMs
  • Loading branch information
AkihiroSuda authored Jul 9, 2020
2 parents 45ddd3c + b62e666 commit 4e85f11
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
33 changes: 32 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,27 @@ jobs:
with:
name: moby-snapshot-fedora-32-x86_64-rpm.tbz
path: ./moby-snapshot-fedora-32-x86_64-rpm.tbz
rpm_centos_8:
name: "Build rpm (CentOS 8)"
needs: version
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with:
name: _VERSION
path: _tmp
- run: mv _tmp/_VERSION _VERSION
- run: ./make-package.sh centos 8
- uses: actions/upload-artifact@v2
with:
name: moby-snapshot-centos-8-x86_64-rpm.tbz
path: ./moby-snapshot-centos-8-x86_64-rpm.tbz

release:
name: "Release (tags: snapshot-*)"
needs: [version, binary, deb_ubuntu_focal, rpm_fedora_32]
needs: [version, binary, deb_ubuntu_focal, rpm_fedora_32, rpm_centos_8]
if: startsWith(github.ref, 'refs/tags/snapshot-')
runs-on: ubuntu-latest
timeout-minutes: 30
Expand All @@ -86,6 +104,10 @@ jobs:
with:
name: moby-snapshot-fedora-32-x86_64-rpm.tbz
path: _tmp
- uses: actions/download-artifact@v2
with:
name: moby-snapshot-centos-8-x86_64-rpm.tbz
path: _tmp
- name: SHA256SUMS
run: |
cd _tmp
Expand Down Expand Up @@ -136,3 +158,12 @@ jobs:
asset_path: _tmp/moby-snapshot-fedora-32-x86_64-rpm.tbz
asset_name: moby-snapshot-fedora-32-x86_64-rpm.tbz
asset_content_type: application/octet-stream
- name: "Upload moby-snapshot-centos-8-x86_64-rpm.tbz"
uses: actions/upload-release-asset@v1.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: _tmp/moby-snapshot-centos-8-x86_64-rpm.tbz
asset_name: moby-snapshot-centos-8-x86_64-rpm.tbz
asset_content_type: application/octet-stream
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ $ sudo apt-get install ./*.deb
```

### rpm
Available for Fedora 32
Available for Fedora 32 and CentOS 8

```console
$ tar xjvf moby-snapshot-fedora-32-x86_64-rpm.tbz
Expand Down

0 comments on commit 4e85f11

Please sign in to comment.