Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/publish-simulator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ on:
description: Should be this docker labeled with tag latest? Enter `true` if the tag `latest` should be added for image.
default: "true"
required: true
publish-access-key:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How are we going to select a tag to build?

description: The branch, tag or SHA to checkout. (if "default" the selected branch will be used)
default: default
required: true

jobs:
publish-docker-helm:
Expand Down Expand Up @@ -67,7 +63,7 @@ jobs:
- name: Docker log in (ghcr.io)
shell: bash
run: |
echo ${{ inputs.publish-access-key}} | docker login --username ${{ github.actor }} --password-stdin ghcr.io
echo "${{ secrets.MM_PKG_WRITE }}" | docker login ghcr.io --username ${{ github.actor }} --password-stdin
Copy link
Collaborator

@ihrasko ihrasko Sep 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about to use https://github.com/docker/login-action?

jobs:
  build-and-push:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4

      - name: Log in to GitHub Container Registry
        uses: docker/login-action@v3
        with:
          registry: ghcr.io
          username: ${{ github.actor }}
          password: ${{ secrets.YOUR_PUBLISH_ACCESS_KEY }} # Use secrets context

      # ... your docker build and push steps follow

- name: Publish docker image (ghcr.io)
shell: bash
run: |
Expand Down