Skip to content

chore(deps): update github actions #1533

chore(deps): update github actions

chore(deps): update github actions #1533

Workflow file for this run

name: CD Release PR
on:
pull_request:
branches:
- main
permissions:
contents: write
jobs:
docker:
if: github.repository == 'aneoconsulting/ArmoniK.Admin.GUI'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
fetch-depth: 0
- name: Docker meta
id: meta
uses: docker/metadata-action@9dc751fe249ad99385a2583ee0d084c400eee04e # v5
with:
# list of Docker images to use as base name for tags
images: |
dockerhubaneo/armonik_admin_app
# generate Docker tags based on the following events/attributes
tags: |
type=ref,event=pr
type=sha
- name: Login to DockerHub
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3
with:
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
file: ./Dockerfile