Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

update flood Docker image #25

update flood Docker image

update flood Docker image #25

Workflow file for this run

name: update flood Docker image
on:
push:
tags: ["v*.*.*"]
env:
IMAGE_NAME: ibf-flood-model
jobs:
build:
name: Build container image
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
- name: Log into registry
uses: docker/login-action@v1
with:
registry: ${{ secrets.ACR_ENDPOINT }}
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build & Push
uses: docker/build-push-action@v2
with:
push: true
build-args: |
version=${{ steps.tag.outputs.tag }}
tags: ${{ secrets.ACR_ENDPOINT }}/${{ env.IMAGE_NAME }}:latest