Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ripl/libbot2-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
mrwalter committed Feb 29, 2024
2 parents 7798793 + 06f353c commit 376fcda
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Load environment variables
uses: c-py/action-dotenv-to-setenv@v2
with:
env-file: ./.env
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand All @@ -28,3 +32,19 @@ jobs:
platforms: linux/arm64/v8,linux/amd64
push: true
tags: ripl/libbot2:latest
- name: Build and push previous
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/arm64/v8,linux/amd64
push: true
tags: ripl/libbot2:${{ env.UBUNTU_VERSION_PREVIOUS }}
build-args: UBUNTU_VERSION=${{ env.UBUNTU_VERSION_PREVIOUS }}
- name: Build and push latest
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/arm64/v8,linux/amd64
push: true
tags: ripl/libbot2:latest, ripl/libbot2:${{ env.UBUNTU_VERSION_LATEST }}
build-args: UBUNTU_VERSION=${{ env.UBUNTU_VERSION_LATEST }}

0 comments on commit 376fcda

Please sign in to comment.