Skip to content

Commit 299fc1d

Browse files
committed
tagged images
1 parent 783b2d7 commit 299fc1d

3 files changed

Lines changed: 17 additions & 5 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ jobs:
2929
context: ./
3030
file: ./Dockerfile
3131
push: true
32-
tags: edryslabs/module-pyxtermjs:base
32+
tags: |
33+
edryslabs/module-pyxtermjs:base
34+
edryslabs/module-pyxtermjs:base-${{ github.run_number }}
3335
3436
arduino:
3537
runs-on: ubuntu-latest
@@ -50,14 +52,18 @@ jobs:
5052
username: ${{ secrets.DOCKERHUB_USERNAME }}
5153
password: ${{ secrets.DOCKERHUB_TOKEN }}
5254

55+
# Wait a moment for base image to be available
56+
- name: Wait for base image
57+
run: sleep 30
58+
5359
- name: Build and push Docker image (ARDUINO)
5460
uses: docker/build-push-action@v5
5561
with:
5662
context: ./docker/arduino
5763
file: ./docker/arduino/Dockerfile
5864
push: true
5965
tags: |
60-
edryslabs/module-pyxtermjs:arduino
66+
edryslabs/module-pyxtermjs:arduino-v${{ github.run_number }}
6167
edryslabs/module-pyxtermjs:latest
6268
6369
development:
@@ -79,10 +85,16 @@ jobs:
7985
username: ${{ secrets.DOCKERHUB_USERNAME }}
8086
password: ${{ secrets.DOCKERHUB_TOKEN }}
8187

88+
# Wait a moment for base image to be available
89+
- name: Wait for base image
90+
run: sleep 30
91+
8292
- name: Build and push Docker image (DEVELOPMENT)
8393
uses: docker/build-push-action@v5
8494
with:
8595
context: ./docker/development
8696
file: ./docker/development/Dockerfile
8797
push: true
88-
tags: edryslabs/module-pyxtermjs:development
98+
tags: |
99+
edryslabs/module-pyxtermjs:development-v${{ github.run_number }}
100+
edryslabs/module-pyxtermjs:development

docker/arduino/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version:
77
services:
88
pyxtermjs:
99
build: .
10-
image: edryslabs/module-pyxtermjs_arduino:latest
10+
image: edryslabs/module-pyxtermjs:arduino
1111
container_name: module-pyxtermjs_arduino
1212
ports:
1313
- '5000:5000'

docker/development/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3'
22
services:
33
pyxtermjs:
44
build: .
5-
image: edryslabs/module-pyxtermjs_development:latest
5+
image: edryslabs/module-pyxtermjs:development
66
container_name: module-pyxtermjs_development
77
ports:
88
- '5000:5000'

0 commit comments

Comments
 (0)