Skip to content

Commit

Permalink
Disabling ttl upload and update action versions
Browse files Browse the repository at this point in the history
Background was the following warning:

Node.js 12 actions are deprecated.
Please update the following actions to use Node.js 16: docker/metadata-action@v3.5.0.
For more information see:
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
  • Loading branch information
erikbosch authored and SebastianSchildt committed Apr 21, 2023
1 parent bf2dde4 commit a865704
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/kuksa-client.yml
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ jobs:
- uses: actions/checkout@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v3.5.0
uses: docker/metadata-action@v4
with:
# list of Docker images to use as base name for tags
images: |
@@ -70,7 +70,7 @@ jobs:

- name: Build kuksa command line client docker and push to ghcr.io
if: ${{ needs.checkrights.outputs.have_secrets == 'true' && github.event_name != 'pull_request' }}
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
platforms: |
linux/amd64
@@ -82,15 +82,16 @@ jobs:
${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

# Push currently disabled as it results in 413 Request Entity Too Large
- name: Build ephemereal kuksa command line client docker and push to ttl.sh
if: ${{ needs.checkrights.outputs.have_secrets == 'false' || github.event_name == 'pull_request' }}
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
platforms: |
linux/amd64
linux/arm64
context: .
file: kuksa-client/Dockerfile
push: true
push: false
tags: "ttl.sh/kuksa.val/kuksa-client-${{github.sha}}:1h"
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit a865704

Please sign in to comment.