Skip to content

Commit

Permalink
v0.4.27
Browse files Browse the repository at this point in the history
push to new repository!
  • Loading branch information
SCHWMAX committed Oct 17, 2024
1 parent 8fc94de commit 656fc4b
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,26 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get current date
run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

- name: Get short commit hash
run: echo "SHORT_COMMIT=$(echo $GITHUB_SHA | cut -c 1-7)" >> $GITHUB_ENV

- name: Docker meta
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: maxscw/basler-camera-adapter
tags: |
type=ref,event=branch
type=ref,event=tag
type=schedule,pattern={{date 'YYYYMMDD'}}
latest
v0.4.26
engine
sha$${{ github.sha }}
sha$${{ env.SHORT_COMMIT }}
date$${{ env.CURRENT_DATE }}
v0.4.27
- name: Login to Docker Hub
uses: docker/login-action@v3
Expand All @@ -34,7 +41,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
file: BaslerCameraAdapter.Dockerfile
Expand Down

0 comments on commit 656fc4b

Please sign in to comment.