Set the height of the TextField component to not exceed the window's … #5
Workflow file for this run
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
name: docker-build | |
on: | |
push: | |
# Publish semver tags as releases. | |
tags: "[0-9]+.[0-9]+.[0-9]+" | |
env: | |
# github.repository as <account>/<repo> | |
IMAGE_NAME: oleksis/mobocker-extension | |
SHA: ${{ github.event.pull_request.head.sha || github.event.after }} | |
DOCKERFILE_PATH: Dockerfile | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
id-token: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ env.SHA }} | |
- name: Expose GitHub Runtime | |
uses: crazy-max/ghaction-github-runtime@v2 | |
- name: Setup Docker buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
driver-opts: | | |
image=openpubkey/buildkit:opk-signing | |
env.ACTIONS_ID_TOKEN_REQUEST_URL=${{ env.ACTIONS_ID_TOKEN_REQUEST_URL }} | |
env.ACTIONS_ID_TOKEN_REQUEST_TOKEN=${{ env.ACTIONS_ID_TOKEN_REQUEST_TOKEN }} | |
- name: Log into registry | |
if: ${{ github.event_name == 'push' || github.event.inputs.push }} | |
uses: docker/login-action@v2 | |
with: | |
username: oleksis | |
password: ${{ secrets.DOCKERHUB_WRITE_PAT }} | |
- name: Extract Docker metadata | |
id: meta | |
uses: docker/metadata-action@v4 | |
with: | |
images: ${{ env.IMAGE_NAME }} | |
- name: Build and push Docker image on push | |
id: build-and-push | |
uses: docker/build-push-action@v4 | |
with: | |
context: . | |
push: true | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} | |
platforms: "linux/amd64,linux/arm64" | |
sbom: true | |
provenance: true | |
cache-from: type=gha | |
cache-to: type=gha,mode=max |