---
title: "Piotrekkr (@piotrekkr) | Hashnode"
description: "Previously software engineer, currently working as DevOps engineer. Read the latest articles by Piotrekkr on Hashnode."
url: "https://hashnode.com/@piotrekkr"
---

@piotrekkr

# Piotrekkr

@piotrekkr · Joined September 2023

Previously software engineer, currently working as DevOps engineer.

### [Using GCP Secret Manager With Container-Optimized OS VMs](https://piotrekkr.hashnode.dev/using-gcp-secret-manager-with-container-optimized-os-vms?utm_source=hashnode&utm_medium=feed)

Using Google Cloud Platform Secret Manager service is a convenient way to store and manage secrets. It has many features like automatic rotation, audit logging, access control and many others. It is integrated with GCP services like Cloud Functions, ...

11 min read · [piotrekkr.hashnode.dev](https://piotrekkr.hashnode.dev/using-gcp-secret-manager-with-container-optimized-os-vms?utm_source=hashnode&utm_medium=feed)

[Nov 10, 2024](https://hashnode.com/posts/using-gcp-secret-manager-with-container-optimized-os-vms/673083ba67197bcc5bf272f1)

### [Fetch "directories" only from GCS with PHP](https://piotrekkr.hashnode.dev/fetch-directories-only-from-gcs-with-php?utm_source=hashnode&utm_medium=feed)

My recent task was to search in bucket for objects located in selected "directories" using PHP. Directory list inside bucket is not constant. New directories can be added every few months. Search should fetch all "main directories" that match some pa...

3 min read · [piotrekkr.hashnode.dev](https://piotrekkr.hashnode.dev/fetch-directories-only-from-gcs-with-php?utm_source=hashnode&utm_medium=feed)

[Oct 7, 2024](https://hashnode.com/posts/fetch-directories-only-from-gcs-with-php/67044fff0048f28681b12411)

### [Using GitHub secrets may break job outputs](https://piotrekkr.hashnode.dev/using-github-secrets-may-break-job-outputs?utm_source=hashnode&utm_medium=feed)

If you don't want to spend hours debugging GitHub CI jobs, avoid using job outputs that may contain secrets inside. Job outputs will not be passed to dependent jobs if they contain secrets in any part of output value. There is a tiny note about this ...

2 min read · [piotrekkr.hashnode.dev](https://piotrekkr.hashnode.dev/using-github-secrets-may-break-job-outputs?utm_source=hashnode&utm_medium=feed)

[Aug 18, 2024](https://hashnode.com/posts/using-github-secrets-may-break-job-outputs/66c22c3031095a39a0f8bfa1)

### [How to get multi-architecture manifest SHA256 for a Docker image?](https://piotrekkr.hashnode.dev/how-to-get-multi-architecture-manifest-sha256-for-a-docker-image?utm_source=hashnode&utm_medium=feed)

Sometimes you have to deal with multiple CPU architectures within your team. For example you have devs using macOS (arm64) and Linux (amd64). This may create some issues when you want to use base image with specific SHA256 inside your app Dockerfile....

3 min read · [piotrekkr.hashnode.dev](https://piotrekkr.hashnode.dev/how-to-get-multi-architecture-manifest-sha256-for-a-docker-image?utm_source=hashnode&utm_medium=feed)

[Jul 22, 2024](https://hashnode.com/posts/how-to-get-multi-architecture-manifest-sha256-for-a-docker-image/669df7c7f26604163d973362)

### [Cloud-init works differently with COS images in GCP](https://piotrekkr.hashnode.dev/cloud-init-works-differently-with-cos-images-in-gcp?utm_source=hashnode&utm_medium=feed)

Introduction When working with VMs you may come across cloud-init tool that could be used to provision your instances. It is a well documented tool and is widely used by cloud providers. You may be quite surprised though that there can be some situat...

2 min read · [piotrekkr.hashnode.dev](https://piotrekkr.hashnode.dev/cloud-init-works-differently-with-cos-images-in-gcp?utm_source=hashnode&utm_medium=feed)

[Apr 6, 2024](https://hashnode.com/posts/cloud-init-works-differently-with-cos-images-in-gcp/66115882cd9553cb273b4c1c)
