mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-21 21:30:11 +00:00
add telegraf image tag
This commit is contained in:
parent
e5fa70fe64
commit
a45b3fb772
2 changed files with 23 additions and 1 deletions
19
.github/workflows/deploy.yml
vendored
19
.github/workflows/deploy.yml
vendored
|
@ -57,7 +57,7 @@ jobs:
|
||||||
- name: Run hadolint against Dockerfiles
|
- name: Run hadolint against Dockerfiles
|
||||||
run: docker run --rm -i -v "$PWD":/workdir --workdir /workdir --entrypoint hadolint hadolint/hadolint --ignore DL3015 --ignore DL3003 --ignore DL3006 --ignore DL3010 --ignore DL4001 --ignore DL3007 --ignore DL3008 --ignore SC2068 --ignore DL3007 --ignore SC1091 --ignore DL3013 --ignore DL3010 $(find . -type f -iname "Dockerfile*")
|
run: docker run --rm -i -v "$PWD":/workdir --workdir /workdir --entrypoint hadolint hadolint/hadolint --ignore DL3015 --ignore DL3003 --ignore DL3006 --ignore DL3010 --ignore DL4001 --ignore DL3007 --ignore DL3008 --ignore SC2068 --ignore DL3007 --ignore SC1091 --ignore DL3013 --ignore DL3010 $(find . -type f -iname "Dockerfile*")
|
||||||
|
|
||||||
deploy_ghcr_multiarch:
|
deploy_ghcr_multiarch_no_telegraf:
|
||||||
name: Deploy ghcr.io (Multi-Arch)
|
name: Deploy ghcr.io (Multi-Arch)
|
||||||
needs: [hadolint]
|
needs: [hadolint]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -109,3 +109,20 @@ jobs:
|
||||||
push: true
|
push: true
|
||||||
tags: ghcr.io/${{ env.GHCR_IMAGE }}:${{ env.GHCR_TAG }}
|
tags: ghcr.io/${{ env.GHCR_IMAGE }}:${{ env.GHCR_TAG }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
||||||
|
# Change Dockerfile to use telegraf tag of build image:
|
||||||
|
- name: change build image to use telegraf tag of docker-docker-tar1090
|
||||||
|
run: |
|
||||||
|
sed -i "s|FROM ghcr.io/sdr-enthusiasts/docker-tar1090:latest|FROM ghcr.io/sdr-enthusiasts/docker-tar1090:telegraf/g" ./Dockerfile
|
||||||
|
|
||||||
|
# Build "telegraf"
|
||||||
|
- name: Build & Push - telegraf
|
||||||
|
uses: docker/build-push-action@v3
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
file: ./Dockerfile
|
||||||
|
no-cache: true
|
||||||
|
platforms: linux/amd64,linux/arm/v7,linux/arm64
|
||||||
|
push: true
|
||||||
|
tags: ghcr.io/${{ env.GHCR_IMAGE }}:telegraf
|
||||||
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"yaml.schemas": {
|
||||||
|
"https://json.schemastore.org/github-workflow.json": "file:///Users/ramon_kolb/github/docker-adsb-ultrafeeder/.github/workflows/deploy.yml"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue