Skip to content

Update actions/checkout digest to 692973e (#42) #25

Update actions/checkout digest to 692973e (#42)

Update actions/checkout digest to 692973e (#42) #25

Workflow file for this run

name: Docker
on:
push:
branches: [s1tbx]
jobs:
docker:
name: build and push
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Create image and tag names
id: meta
uses: docker/metadata-action@v5
with:
images: mundialis/esa-snap
tags: |
type=sha,enable=true,priority=100,prefix=s1tbx-,suffix=,format=short
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 's1tbx') }}
flavor: |
latest=auto
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v5
with:
push: true
pull: true
context: .
tags: ${{ steps.meta.outputs.tags }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}