Skip to content

Commit 40feb39

Browse files
committedOct 5, 2024·
Podman/docker issue suspected?
1 parent 747f459 commit 40feb39

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed
 

‎.github/workflows/deploy-demo.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
- name: Build container
3535
run: make VERSION=${{ steps.version.outputs.VERSION }}
3636

37+
- run: podman images
38+
3739
- id: auth
3840
name: Authenticate with Google Cloud
3941
uses: google-github-actions/auth@v2
@@ -45,7 +47,7 @@ jobs:
4547
create_credentials_file: true
4648

4749
- name: Login to Artifact Registry
48-
uses: docker/login-action@v1
50+
uses: redhat-actions/podman-login@v1
4951
with:
5052
registry: us-central1-docker.pkg.dev
5153
username: oauth2accesstoken
@@ -54,6 +56,8 @@ jobs:
5456
- name: Install Pulumi
5557
run: cd pulumi && npm install
5658

59+
- run: podman images
60+
5761
- name: Applying infrastructure 🚀🙏
5862
uses: pulumi/actions@v3
5963
with:

‎pulumi/index.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,16 @@ const localImageName = "localhost/config-ui:" + imageVersion;
7171
const imageName = repo + "/config-ui:" + imageVersion;
7272

7373
const taggedImage = new local.Command(
74-
"docker-tag-command",
74+
"podman-tag-command",
7575
{
76-
create: "docker tag " + localImageName + " " + imageName,
76+
create: "podman tag " + localImageName + " " + imageName,
7777
}
7878
);
7979

8080
const image = new local.Command(
81-
"docker-push-command",
81+
"podman-push-command",
8282
{
83-
create: "docker push " + imageName,
83+
create: "podman push " + imageName,
8484
},
8585
{
8686
dependsOn: [taggedImage, artifactRepo],

0 commit comments

Comments
 (0)
Please sign in to comment.