-
Notifications
You must be signed in to change notification settings - Fork 37
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
1 parent
0c47738
commit 33b8905
Showing
20 changed files
with
138 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
name: Build 6.3 Beta | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 6.3/beta/** | ||
- .github/workflows/build-6.3-beta.yml | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v2 | ||
- | ||
name: Set up dynamic build ARGs | ||
id: getargs | ||
run: echo "::set-output name=version::$(cat ./6.3/beta/VERSION)" | ||
- | ||
name: Set up Docker metadata for Alpine | ||
id: meta-alpine | ||
uses: docker/metadata-action@v3 | ||
with: | ||
images: | | ||
${{ github.repository }} | ||
ghcr.io/${{ github.repository }} | ||
tags: | | ||
type=raw,latest-alpine-beta | ||
type=raw,6.3-alpine-beta | ||
type=raw,6.3-alpine | ||
labels: | | ||
org.opencontainers.image.vendor=The Goofball - [email protected] | ||
org.opencontainers.image.title=UniFi Controller | ||
org.opencontainers.image.description=UniFi Controller | ||
org.opencontainers.image.version=${{ steps.getargs.outputs.version }}-Alpine | ||
- | ||
name: Set up Docker metadata for Debian | ||
id: meta-debian | ||
uses: docker/metadata-action@v3 | ||
with: | ||
images: | | ||
${{ github.repository }} | ||
ghcr.io/${{ github.repository }} | ||
tags: | | ||
type=raw,latest-beta | ||
type=raw,6.3-beta | ||
type=raw,6.3 | ||
labels: | | ||
org.opencontainers.image.vendor=The Goofball - [email protected] | ||
org.opencontainers.image.title=UniFi Controller | ||
org.opencontainers.image.description=UniFi Controller | ||
org.opencontainers.image.version=${{ steps.getargs.outputs.version }}-Debian | ||
- | ||
name: Set up Docker metadata for Ubuntu | ||
id: meta-ubuntu | ||
uses: docker/metadata-action@v3 | ||
with: | ||
images: | | ||
${{ github.repository }} | ||
ghcr.io/${{ github.repository }} | ||
tags: | | ||
type=raw,latest-ubuntu-beta | ||
type=raw,6.3-ubuntu-beta | ||
type=raw,6.3-ubuntu | ||
labels: | | ||
org.opencontainers.image.vendor=The Goofball - [email protected] | ||
org.opencontainers.image.title=UniFi Controller | ||
org.opencontainers.image.description=UniFi Controller | ||
org.opencontainers.image.version=${{ steps.getargs.outputs.version }}-Ubuntu | ||
- | ||
name: Set up QEMU | ||
uses: docker/setup-qemu-action@v1 | ||
- | ||
name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
- | ||
name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- | ||
name: Login to GHCR | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- | ||
name: Build and push Alpine Docker image | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: ./6.3/beta | ||
file: ./6.3/beta/Dockerfile.alpine | ||
platforms: linux/amd64,linux/arm64,linux/arm/v7 | ||
push: ${{ github.event_name != 'pull_request' }} | ||
tags: ${{ steps.meta-alpine.outputs.tags }} | ||
labels: ${{ steps.meta-alpine.outputs.labels }} | ||
build-args: VERSION=${{ steps.getargs.outputs.version }} | ||
- | ||
name: Build and push Debian Docker image | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: ./6.3/beta | ||
file: ./6.3/beta/Dockerfile | ||
platforms: linux/amd64 | ||
push: ${{ github.event_name != 'pull_request' }} | ||
tags: ${{ steps.meta-debian.outputs.tags }} | ||
labels: ${{ steps.meta-debian.outputs.labels }} | ||
build-args: VERSION=${{ steps.getargs.outputs.version }} | ||
- | ||
name: Build and push Ubuntu Docker image | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: ./6.3/beta | ||
file: ./6.3/beta/Dockerfile.ubuntu | ||
platforms: linux/amd64,linux/arm64 | ||
push: ${{ github.event_name != 'pull_request' }} | ||
tags: ${{ steps.meta-ubuntu.outputs.tags }} | ||
labels: ${{ steps.meta-ubuntu.outputs.labels }} | ||
build-args: VERSION=${{ steps.getargs.outputs.version }} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1 +1 @@ | ||
6.2.25 | ||
6.2.26 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
6.3.51-05a66381e3 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
6.2.25 | ||
6.2.26 |