Skip to content

Bump zipp from 3.18.1 to 3.19.1 in /dash #35

Bump zipp from 3.18.1 to 3.19.1 in /dash

Bump zipp from 3.18.1 to 3.19.1 in /dash #35

Workflow file for this run

name: Build and push Docker image for Dash application
on:
- push
jobs:
build_app_image:
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0 #fetch all history, required for 'git describe'
- name: Set GIT_DESC
run: echo "GIT_DESC=$(git describe --tags)" >> $GITHUB_ENV
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Update environment variables
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Build and push
uses: docker/build-push-action@v4
with:
cache-from: type=gha
context: ./dash
file: ./dash/Dockerfile
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/ya16sdb-app:latest
ghcr.io/${{ github.repository_owner }}/ya16sdb-app:${{ steps.vars.outputs.sha_short }}
build-args: |
"VERSION=${{ env.GIT_DESC }}"