Skip to content

Commit

Permalink
chore: test tag
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriocomo committed Oct 10, 2024
1 parent db002d7 commit 7f28820
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: pull-request

on:
push:
branches: [main]
# branches: [main]
pull_request:
branches: [main]
# for future develpments
Expand All @@ -17,6 +17,22 @@ jobs:
docker-build:
runs-on: ubuntu-latest
steps:
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
ghcr.io/teamdigitale/dataviz-srv:
# generate Docker tags based on the following events/attributes
tags: |
type=schedule
type=ref,event=branch
# type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

Expand All @@ -38,6 +54,7 @@ jobs:
file: "Dockerfile.app"
platforms: linux/amd64
push: false
tags: |
ghcr.io/teamdigitale/dataviz-srv:latest
ghcr.io/teamdigitale/dataviz-srv:0.0.1
tags: ${{ steps.meta.outputs.tags }}
# tags: |
# ghcr.io/teamdigitale/dataviz-srv:latest
# ghcr.io/teamdigitale/dataviz-srv:0.0.1

0 comments on commit 7f28820

Please sign in to comment.