Skip to content

Commit

Permalink
set -euo pipefail in build-and-push
Browse files Browse the repository at this point in the history
  • Loading branch information
strugee committed Oct 1, 2024
1 parent 092bf01 commit f52a671
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build-and-push.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/sh
#!/bin/bash

set -euo pipefail

./build.sh $1
podman push ubuntu-server-dev:$1 $(podman images --format='{{.Repository}}:{{.Tag}}' | grep localhost/ubuntu-server-dev | tr '\n' ' ' | sed 's;localhost/;ghcr.io/seagl/ubuntu-server-dev/;g')

0 comments on commit f52a671

Please sign in to comment.