Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Commit

Permalink
🐳 Update Docker Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MiWeiss authored Mar 24, 2023
1 parent 708b23a commit 57d971c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches: [ "main" ]

env:
TIMESTAMP: $(date +%s)

jobs:

build:
Expand All @@ -13,7 +16,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . -t ghcr.io/testingautomated-usi/bisupervised:$(date +%s)
run: docker build . -t ghcr.io/testingautomated-usi/bisupervised:$TIMESTAMP

- name: Publish to github container repository
run: docker push ghcr.io/testingautomated-usi/bisupervised:$(date +%s)
run: docker push ghcr.io/testingautomated-usi/bisupervised:$TIMESTAMP

0 comments on commit 57d971c

Please sign in to comment.