Skip to content

Install the 1password op cli tool #249

Install the 1password op cli tool

Install the 1password op cli tool #249

Workflow file for this run

---
name: "Tests"
on:
push:
branches-ignore:
- "main"
jobs:
gh_tests:
runs-on: "ubuntu-latest"
env:
UBUNTU_LTS_VERSION: "20.04"
steps:
- name: "Free disk space"
uses: "jlumbroso/[email protected]"
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- uses: "actions/[email protected]"
with:
lfs: true
fetch-depth: 0
- name: "Retrieve the short SHA"
id: "sha"
run: echo "value=$(echo ${GITHUB_SHA::8})" >> "$GITHUB_OUTPUT"
- name: "Set up QEMU"
uses: "docker/setup-qemu-action@v3"
- name: "Set up Docker Buildx"
uses: "docker/setup-buildx-action@v3"
- name: "Publish to GitHub Packages"
uses: "docker/build-push-action@v5"
with:
context: .
file: "./Dockerfile"
build-args: |
UBUNTU_VERSION=${{ env.UBUNTU_LTS_VERSION }}
platforms: "linux/amd64"
load: true
tags: |
ghcr.io/marvinpinto/kitchensink:${{ env.UBUNTU_LTS_VERSION }}-latest
ghcr.io/marvinpinto/kitchensink:${{ env.UBUNTU_LTS_VERSION }}-${{ steps.sha.outputs.value }}