Browse Source

fix metadata

main
Daniel Gibbs 2 months ago
parent
commit
e09a7b1bb0
  1. 18
      .github/workflows/docker-publish.yml

18
.github/workflows/docker-publish.yml

@ -42,9 +42,15 @@ jobs:
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
uses: docker/metadata-action@v5
with:
images: my-docker-hub-namespace/my-docker-hub-repository
images: |
gameservermanagers/steamcmd:latest
gameservermanagers/steamcmd:ubuntu
gameservermanagers/steamcmd:ubuntu-24.04
ghcr.io/gameservermanagers/steamcmd:latest
ghcr.io/gameservermanagers/steamcmd:ubuntu
ghcr.io/gameservermanagers/steamcmd:ubuntu-24.04
- name: Build and push (Ubuntu 24.04)
uses: docker/build-push-action@v6
@ -53,13 +59,7 @@ jobs:
file: ./Dockerfile.ubuntu-2404
platforms: linux/amd64
push: true
tags: |
gameservermanagers/steamcmd:latest
gameservermanagers/steamcmd:ubuntu
gameservermanagers/steamcmd:ubuntu-24.04
ghcr.io/gameservermanagers/steamcmd:latest
ghcr.io/gameservermanagers/steamcmd:ubuntu
ghcr.io/gameservermanagers/steamcmd:ubuntu-24.04
tags: ${{ steps.meta.outputs.tags }}
build-ubuntu-2204:
name: Build Ubuntu 22.04

Loading…
Cancel
Save