mirror of
https://tangled.org/evan.jarrett.net/at-container-registry
synced 2026-09-02 16:26:56 +00:00
try with podman instead
This commit is contained in:
@@ -13,7 +13,7 @@ dependencies:
|
||||
- git
|
||||
- go
|
||||
#- goreleaser
|
||||
- docker
|
||||
- podman
|
||||
|
||||
steps:
|
||||
- name: Fetch git tags
|
||||
@@ -28,32 +28,22 @@ steps:
|
||||
exit 1
|
||||
fi
|
||||
echo "Found tag $TAG for commit $CURRENT_COMMIT"
|
||||
echo "TAG=$TAG" >> $GITHUB_ENV || true
|
||||
git checkout $TAG
|
||||
|
||||
- name: Login to atcr.io
|
||||
command: docker login atcr.io -u evan.jarrett.net -p ${APP_PASSWORD}
|
||||
|
||||
- name: Build AppView Docker image
|
||||
command: |
|
||||
TAG=$(git describe --tags --exact-match 2>/dev/null || git tag --points-at HEAD | head -n1)
|
||||
docker build -f Dockerfile.appview -t atcr.io/evan.jarrett.net/atcr-appview:${TAG} .
|
||||
podman login atcr.io -u evan.jarrett.net -p ${APP_PASSWORD}
|
||||
podman build -f Dockerfile.appview -t atcr.io/evan.jarrett.net/atcr-appview:${TAG} .
|
||||
podman push atcr.io/evan.jarrett.net/atcr-appview:${TAG}
|
||||
|
||||
- name: Build Hold Docker image
|
||||
command: |
|
||||
TAG=$(git describe --tags --exact-match 2>/dev/null || git tag --points-at HEAD | head -n1)
|
||||
docker build -f Dockerfile.hold -t atcr.io/evan.jarrett.net/atcr-hold:${TAG} .
|
||||
|
||||
- name: Push AppView Docker image
|
||||
command: |
|
||||
TAG=$(git describe --tags --exact-match 2>/dev/null || git tag --points-at HEAD | head -n1)
|
||||
docker push atcr.io/evan.jarrett.net/atcr-appview:${TAG}
|
||||
|
||||
- name: Push Hold Docker image
|
||||
command: |
|
||||
TAG=$(git describe --tags --exact-match 2>/dev/null || git tag --points-at HEAD | head -n1)
|
||||
docker push atcr.io/evan.jarrett.net/atcr-hold:${TAG}
|
||||
|
||||
podman login atcr.io -u evan.jarrett.net -p ${APP_PASSWORD}
|
||||
podman build -f Dockerfile.hold -t atcr.io/evan.jarrett.net/atcr-hold:${TAG} .
|
||||
podman push atcr.io/evan.jarrett.net/atcr-hold:${TAG}
|
||||
|
||||
# disable for now
|
||||
# - name: Tidy Go modules
|
||||
# command: go mod tidy
|
||||
|
||||
Reference in New Issue
Block a user