Skip to content

update secrets

update secrets #3

name: plotly-build-push
on:
push:
branches:
- "*-release"
- "main"
- "gha-ci"
jobs:
docker-build-push:
runs-on: ubuntu-latest
steps:
- name: Get branch name
id: branch-name
uses: tj-actions/[email protected]
- name: Checkout
uses: actions/checkout@v3
- name: Log in to Quay
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.DEK_DEPLOYMENT_QUAY_USERNAME }}
password: ${{ DEK_DEPLOYMENT_QUAY_TOKEN }}

Check failure on line 23 in .github/workflows/plotly-build-push.yml

View workflow run for this annotation

GitHub Actions / plotly-build-push

Invalid workflow file

The workflow is not valid. .github/workflows/plotly-build-push.yml (Line: 23, Col: 21): Unrecognized named-value: 'DEK_DEPLOYMENT_QUAY_TOKEN'. Located at position 1 within expression: DEK_DEPLOYMENT_QUAY_TOKEN
- id: setup-pack
uses: buildpacks/github-actions/[email protected]
- id: package
run: |
#!/usr/bin/env bash
set -euo pipefail
PACKAGE="${REPO}/$(echo "$BP_ID" | sed 's/\//_/g')"
pack buildpack package --publish ${PACKAGE}:${VERSION}
echo "IMAGE_TAG=${PACKAGE}:${VERSION}" >> "$GITHUB_OUTPUT"
shell: bash
env:
REPO: quay.io/${{ github.repository_owner }}/apt-buildpack
VERSION: ${{ steps.branch-name.outputs.current_branch }}-sha-${{ github.sha }}
- run: docker push "$IMAGE_TAG"
env:
IMAGE_TAG: ${{ steps.package.outputs.IMAGE_TAG}}