Skip to content

Commit

Permalink
fix publishing of docker images (#347)
Browse files Browse the repository at this point in the history
* Revert "update build and push github action version (#346)"

This reverts commit f6a816e.

* Revert "install dependencies in image to get rid of build errors (#345)"

This reverts commit 31dacb7.

* Pin version
  • Loading branch information
agbpatro authored Feb 4, 2025
1 parent f6a816e commit 8ce70f7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
validate-input:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Validate input
id: validate
Expand All @@ -22,7 +22,7 @@ jobs:
release:
needs: validate-input
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
Expand All @@ -34,19 +34,19 @@ jobs:
tag_prefix: v

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v2

- name: Login to Docker Hub
uses: docker/login-action@v3.0.0
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v4
with:
platforms: linux/amd64,linux/arm64
push: true
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM golang:1.23.0-bullseye AS build

# build libsodium (dep of libzmq)
WORKDIR /build
RUN wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.19.tar.gz
RUN wget https://github.com/jedisct1/libsodium/releases/download/1.0.19-RELEASE/libsodium-1.0.19.tar.gz
RUN tar -xzvf libsodium-1.0.19.tar.gz
WORKDIR /build/libsodium-stable
RUN ./configure --disable-shared --enable-static
Expand Down
2 changes: 1 addition & 1 deletion test/integration/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM golang:1.23.0-bullseye

# build libsodium (dep of libzmq)
WORKDIR /build
RUN wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.19.tar.gz
RUN wget https://github.com/jedisct1/libsodium/releases/download/1.0.19-RELEASE/libsodium-1.0.19.tar.gz
RUN tar -xzvf libsodium-1.0.19.tar.gz
WORKDIR /build/libsodium-stable
RUN ./configure --disable-shared --enable-static
Expand Down

0 comments on commit 8ce70f7

Please sign in to comment.