Skip to content

Ghidra 11.0.1

Ghidra 11.0.1 #2

name: Publish Docker images for release versions
on:
release:
types: [published]
jobs:
build-and-publish-image:
runs-on: ubuntu-latest
steps:
- name: Get tag name
uses: olegtarasov/[email protected]
id: tagName
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to ghcr.io Container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: .
platforms: |
linux/amd64
push: true
tags: |
ghcr.io/fkie-cad/ghidra_headless_base:${{ steps.tagName.outputs.tag }}
fkiecad/ghidra_headless_base:${{ steps.tagName.outputs.tag }}