-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from devilbox/versions
Versions
- Loading branch information
Showing
7 changed files
with
36 additions
and
36 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 |
---|---|---|
|
@@ -112,13 +112,13 @@ jobs: | |
### Download and import previously built image (if it exists) | ||
### | ||
- name: "[Artifact Load] Download previously built image" | ||
uses: cytopia/[email protected].0 | ||
uses: cytopia/[email protected].1 | ||
with: | ||
name: ${{ steps.set-artifact-name.outputs.prev }} | ||
if: ${{ inputs.stage_prev != '' }} | ||
|
||
- name: "[Artifact Load] Import previously built image" | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make load INFILE=${{ steps.set-artifact-name.outputs.prev }} | ||
|
@@ -129,14 +129,14 @@ jobs: | |
# Build | ||
# ------------------------------------------------------------ | ||
- name: Pull | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make docker-pull-base-image VERSION=${{ matrix.version }} STAGE=${{ inputs.stage }} FLAVOUR=${{ matrix.flavour }} ARCH=${{ matrix.arch }} | ||
if: ${{ inputs.pull_base_image }} | ||
|
||
- name: Build | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make build VERSION=${{ matrix.version }} STAGE=${{ inputs.stage }} FLAVOUR=${{ matrix.flavour }} ARCH=${{ matrix.arch }} | ||
|
@@ -146,7 +146,7 @@ jobs: | |
# Test | ||
# ------------------------------------------------------------ | ||
- name: Test | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make test VERSION=${{ matrix.version }} STAGE=${{ inputs.stage }} FLAVOUR=${{ matrix.flavour }} ARCH=${{ matrix.arch }} | ||
|
@@ -161,7 +161,7 @@ jobs: | |
### Export current image | ||
### | ||
- name: "[Artifact Save] Upload built artifact" | ||
uses: cytopia/[email protected].4 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
name: ${{ steps.set-artifact-name.outputs.curr }} | ||
path: ${{ steps.set-artifact-name.outputs.curr }} | ||
|
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 |
---|---|---|
|
@@ -75,7 +75,7 @@ jobs: | |
|
||
- name: "[SETUP] Determine Docker tag" | ||
id: tag | ||
uses: cytopia/[email protected].20 | ||
uses: cytopia/[email protected].22 | ||
|
||
- name: "[SETUP] Set artifact names" | ||
id: set-artifact-name | ||
|
@@ -96,12 +96,12 @@ jobs: | |
### Download and import previously built image | ||
### | ||
- name: "[Artifact Load] Download previously built image" | ||
uses: cytopia/[email protected].0 | ||
uses: cytopia/[email protected].1 | ||
with: | ||
name: ${{ steps.set-artifact-name.outputs.curr }} | ||
|
||
- name: "[Artifact Load] Import previously built image" | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make load INFILE=${{ steps.set-artifact-name.outputs.curr }} | ||
|
@@ -111,7 +111,7 @@ jobs: | |
# Re-tag images | ||
# ------------------------------------------------------------ | ||
- name: "[Docker Tag] Retag" | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make tag VERSION=${{ matrix.version }} STAGE=${{ inputs.stage }} FLAVOUR=${{ matrix.flavour }} TAG=${{ steps.tag.outputs.docker-tag }} | ||
|
@@ -136,7 +136,7 @@ jobs: | |
# Push images | ||
# ------------------------------------------------------------ | ||
- name: Push Image | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make push VERSION=${{ matrix.version }} STAGE=${{ inputs.stage }} FLAVOUR=${{ matrix.flavour }} ARCH=${{ matrix.arch }} TAG=${{ steps.tag.outputs.docker-tag }} | ||
|
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 |
---|---|---|
|
@@ -75,7 +75,7 @@ jobs: | |
|
||
- name: "[SETUP] Determine Docker tag" | ||
id: tag | ||
uses: cytopia/[email protected].20 | ||
uses: cytopia/[email protected].22 | ||
|
||
- name: "[SETUP] Determine manifest arches" | ||
id: manifest | ||
|
@@ -104,7 +104,7 @@ jobs: | |
# Create Manifest | ||
# ------------------------------------------------------------ | ||
- name: "[Create Manifest] (${{ steps.manifest.outputs.arches }})" | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make manifest-create VERSION=${{ matrix.version }} STAGE=${{ inputs.stage }} FLAVOUR=${{ matrix.flavour }} ARCHES=${{ steps.manifest.outputs.arches }} TAG=${{ steps.tag.outputs.docker-tag }} | ||
|
@@ -114,7 +114,7 @@ jobs: | |
# Deploy Manifest | ||
# ------------------------------------------------------------ | ||
- name: "[Push Manifest] ${{ steps.tag.outputs.docker-tag }}" | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make manifest-push VERSION=${{ matrix.version }} STAGE=${{ inputs.stage }} FLAVOUR=${{ matrix.flavour }} TAG=${{ steps.tag.outputs.docker-tag }} |
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 |
---|---|---|
|
@@ -78,12 +78,12 @@ jobs: | |
### Download and import previously built image | ||
### | ||
- name: "[Artifact Load] Download previously built image" | ||
uses: cytopia/[email protected].0 | ||
uses: cytopia/[email protected].1 | ||
with: | ||
name: ${{ steps.set-artifact-name.outputs.curr }} | ||
|
||
- name: "[Artifact Load] Import previously built image" | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make load INFILE=${{ steps.set-artifact-name.outputs.curr }} | ||
|
@@ -93,7 +93,7 @@ jobs: | |
# Test | ||
# ------------------------------------------------------------ | ||
- name: Test | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make test VERSION=${{ matrix.version }} STAGE=${{ inputs.stage }} FLAVOUR=${{ matrix.flavour }} ARCH=${{ matrix.arch }} |
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 |
---|---|---|
|
@@ -146,13 +146,13 @@ jobs: | |
|
||
- name: "[SETUP] Determine Docker tag" | ||
id: tag | ||
uses: cytopia/[email protected].20 | ||
uses: cytopia/[email protected].22 | ||
|
||
# ------------------------------------------------------------ | ||
# Build | ||
# ------------------------------------------------------------ | ||
- name: Build | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make build NAME=${{ matrix.name }} VERSION=${{ matrix.version }} ARCH=${{ matrix.arch }} TAG=${{ steps.tag.outputs.docker-tag }} | ||
|
@@ -161,7 +161,7 @@ jobs: | |
# Test | ||
# ------------------------------------------------------------ | ||
- name: Test | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make test NAME=${{ matrix.name }} VERSION=${{ matrix.version }} ARCH=${{ matrix.arch }} TAG=${{ steps.tag.outputs.docker-tag }} | ||
|
@@ -177,7 +177,7 @@ jobs: | |
if: needs.configure.outputs.can_login == 1 && inputs.can_deploy | ||
|
||
- name: Docker push architecture image | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make push NAME=${{ matrix.name }} VERSION=${{ matrix.version }} ARCH=${{ matrix.arch }} TAG=${{ steps.tag.outputs.docker-tag }} | ||
|
@@ -214,7 +214,7 @@ jobs: | |
|
||
- name: "[SETUP] Determine Docker tag" | ||
id: tag | ||
uses: cytopia/[email protected].20 | ||
uses: cytopia/[email protected].22 | ||
|
||
- name: "[SETUP] Determine manifest arches" | ||
id: manifest | ||
|
@@ -239,13 +239,13 @@ jobs: | |
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
|
||
- name: "[DEPLOY] Create Docker manifest for architectures: ${{ steps.manifest.outputs.arches }}" | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make manifest-create NAME=${{ matrix.name }} VERSION=${{ matrix.version }} ARCHES=${{ steps.manifest.outputs.arches }} TAG=${{ steps.tag.outputs.docker-tag }} | ||
- name: "[DEPLOY] Publish Docker manifest: ${{ steps.tag.outputs.docker-tag }}" | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make manifest-push NAME=${{ matrix.name }} VERSION=${{ matrix.version }} TAG=${{ steps.tag.outputs.docker-tag }} |
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 |
---|---|---|
|
@@ -146,7 +146,7 @@ jobs: | |
|
||
- name: "[SETUP] Determine Docker tag" | ||
id: tag | ||
uses: cytopia/[email protected].20 | ||
uses: cytopia/[email protected].22 | ||
|
||
# https://github.com/alpinelinux/docker-alpine/issues/98 | ||
- name: "[SETUP] Fix Docker IP forwarding" | ||
|
@@ -159,13 +159,13 @@ jobs: | |
# Build | ||
# ------------------------------------------------------------ | ||
- name: Pull Base | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make docker-pull-base-image VERSION="${{ matrix.version }}" FLAVOUR=${{ matrix.flavour }} ARCH=${{ matrix.arch }} | ||
- name: Build | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
retries: 10 | ||
pause: 5 | ||
|
@@ -176,7 +176,7 @@ jobs: | |
# Test | ||
# ------------------------------------------------------------ | ||
- name: Test | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make test NAME=${{ matrix.name }} VERSION="${{ matrix.version }}" FLAVOUR=${{ matrix.flavour }} ARCH=${{ matrix.arch }} TAG=${{ steps.tag.outputs.docker-tag }} | ||
|
@@ -192,7 +192,7 @@ jobs: | |
if: needs.configure.outputs.can_login == 1 && inputs.can_deploy | ||
|
||
- name: Docker push architecture image | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make push NAME=${{ matrix.name }} VERSION="${{ matrix.version }}" FLAVOUR=${{ matrix.flavour }} ARCH=${{ matrix.arch }} TAG=${{ steps.tag.outputs.docker-tag }} | ||
|
@@ -229,7 +229,7 @@ jobs: | |
|
||
- name: "[SETUP] Determine Docker tag" | ||
id: tag | ||
uses: cytopia/[email protected].20 | ||
uses: cytopia/[email protected].22 | ||
|
||
- name: "[SETUP] Determine manifest arches" | ||
id: manifest | ||
|
@@ -254,13 +254,13 @@ jobs: | |
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
|
||
- name: "[DEPLOY] Create Docker manifest for architectures: ${{ steps.manifest.outputs.arches }}" | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make manifest-create NAME=${{ matrix.name }} VERSION="${{ matrix.version }}" FLAVOUR=${{ matrix.flavour }} ARCHES=${{ steps.manifest.outputs.arches }} TAG=${{ steps.tag.outputs.docker-tag }} | ||
- name: "[DEPLOY] Publish Docker manifest: ${{ steps.tag.outputs.docker-tag }}" | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make manifest-push NAME=${{ matrix.name }} VERSION="${{ matrix.version }}" FLAVOUR=${{ matrix.flavour }} TAG=${{ steps.tag.outputs.docker-tag }} |
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 |
---|---|---|
|
@@ -19,25 +19,25 @@ jobs: | |
fetch-depth: 0 | ||
|
||
- name: Lint Files | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make lint-files | ||
- name: Lint Yaml | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make lint-yaml | ||
- name: Lint JSON | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make lint-json | ||
- name: Lint Bash | ||
uses: cytopia/[email protected].3 | ||
uses: cytopia/[email protected].5 | ||
with: | ||
command: | | ||
make lint-bash |